summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/makefile b/makefile
index 8911fdc..d5dbd38 100644
--- a/makefile
+++ b/makefile
@@ -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