diff options
author | John Turner <jturner.usa@gmail.com> | 2025-08-04 02:49:23 -0400 |
---|---|---|
committer | John Turner <jturner.usa@gmail.com> | 2025-08-04 02:49:23 -0400 |
commit | c4d95089a3e5eb3678f26d1805be60a5ca4235ce (patch) | |
tree | e9521e27c9b9877d7e8128780095c56ec108b34b /makefile | |
parent | 53e94e18fc254af0d226763f8e83282718d49add (diff) | |
download | website-c4d95089a3e5eb3678f26d1805be60a5ca4235ce.tar.gz |
create makefile to build website
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 18 |
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 |