summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-08-04 02:49:23 -0400
committerJohn Turner <jturner.usa@gmail.com>2025-08-04 02:49:23 -0400
commitc4d95089a3e5eb3678f26d1805be60a5ca4235ce (patch)
treee9521e27c9b9877d7e8128780095c56ec108b34b
parent53e94e18fc254af0d226763f8e83282718d49add (diff)
downloadwebsite-c4d95089a3e5eb3678f26d1805be60a5ca4235ce.tar.gz
create makefile to build website
-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