diff options
-rw-r--r-- | makefile | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -1,18 +1,20 @@ +EMACS = emacs +ARGS = -batch -e "org-html-export-to-html" + all: index.html blog/index.html blog/gentoo-on-gcloud.html index.html: index.org - emacs -batch $< -e 'org-html-export-to-html' + $(EMACS) $< $(ARGS) blog/index.html: blog/index.org - emacs -batch $< -e 'org-html-export-to-html' + $(EMACS) $< $(ARGS) blog/gentoo-on-gcloud.html: blog/gentoo-on-gcloud.org - emacs -batch $< -e 'org-html-export-to-html' + $(EMACS) $< $(ARGS) install: mkdir srv srv/blog - cp *.html srv - cp -r blog srv + cp -r *.html blog srv clean: rm -rf *.html blog/*.html srv |