summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..b968742
--- /dev/null
+++ b/makefile
@@ -0,0 +1,18 @@
+all: index.html blog/index.html blog/gentoo-on-gcloud.html
+
+index.html: index.org
+ emacs -batch $< -e 'org-html-export-to-html'
+
+blog/index.html: blog/index.org
+ emacs -batch $< -e 'org-html-export-to-html'
+
+blog/gentoo-on-gcloud.html: blog/gentoo-on-gcloud.org
+ emacs -batch $< -e 'org-html-export-to-html'
+
+install:
+ mkdir srv srv/blog
+ cp *.html srv
+ cp -r blog srv
+
+clean:
+ rm -r *.html blog/*.html srv