diff options
author | John Turner <jturner.usa@gmail.com> | 2025-08-04 03:12:31 -0400 |
---|---|---|
committer | John Turner <jturner.usa@gmail.com> | 2025-08-04 03:12:31 -0400 |
commit | 69e832af275eca9adf34c90ba5273e653cc26d30 (patch) | |
tree | f4b0a356a0751109ecc8177c2ef90098c4e2c118 | |
parent | dfc64a12e2c43329c4eedb36b12f1b400da4069e (diff) | |
download | website-69e832af275eca9adf34c90ba5273e653cc26d30.tar.gz |
create EMACS and ARGS variables in makefile
-rw-r--r-- | makefile | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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 |