Skip to content
Snippets Groups Projects
Makefile 429 B
Newer Older

all:README.html

%.html:%.org 
	emacs --batch --eval="(add-to-list 'load-path \".\") (add-to-list 'load-path \"./el\")" --eval="(require 'htmlize)" --load=emacs-org.el  \
	  --visit=$*.org --funcall org-html-export-to-html

erwan's avatar
erwan committed
EMACS=emacs  \
     --load=htmlize.el \
     --load=emacs-org.el  

%.html2:
	$(EMACS) --visit=$*.org --funcall org-html-export-to-html --eval "(kill-emacs)" -Q

clean:
	rm *.html