From c4d95089a3e5eb3678f26d1805be60a5ca4235ce Mon Sep 17 00:00:00 2001 From: John Turner Date: Mon, 4 Aug 2025 02:49:23 -0400 Subject: create makefile to build website --- makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 makefile (limited to 'makefile') 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 -- cgit v1.2.3