Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. INIT=.emacs.el
  2.  
  3. $(INIT): TC3F.org
  4. time emacs --batch --no-init-file --load .org-mode.emacs.el --find-file TC3F.org --funcall org-babel-tangle --kill
  5.  
  6. TC3F.txt: $(INIT)
  7. time emacs --batch --no-init-file --load .org-mode.emacs.el --find-file TC3F.org --funcall org-ascii-export-to-ascii --kill
  8.  
  9. TC3F.html: $(INIT)
  10. time emacs --batch --no-init-file --load .org-mode.emacs.el --find-file TC3F.org --funcall org-html-export-to-html --kill
  11.  
  12. TC3F.pdf: $(INIT)
  13. time emacs --batch --no-init-file --load .org-mode.emacs.el --find-file TC3F.org --funcall org-latex-export-to-pdf --kill
  14.  
  15. all: TC3F.txt TC3F.html TC3F.pdf
  16.  
  17. clean:
  18. rm $(INIT)
  19. rm TC3F.txt
  20. rm TC3F.html
  21. rm TC3F.pdf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement