diff options
author | Yuchen Pei <me@ypei.me> | 2021-07-20 08:45:03 +1000 |
---|---|---|
committer | Yuchen Pei <me@ypei.me> | 2021-07-20 08:45:03 +1000 |
commit | 2905bcce4dbb7dd1ced889510321d431204bafa3 (patch) | |
tree | 09de0fb584e2651b73425541db2b1257409a2734 /Makefile |
First commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f5d2b78 --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +# Makefile for libreau.org + +.PHONY: all publish publish_no_init + +all: publish + +publish: publish.el + @echo "Publishing... with current Emacs configurations." + emacs --batch --load publish.el --funcall org-publish-all + +publish_no_init: publish.el + @echo "Publishing... with --no-init." + emacs --batch --no-init --load publish.el --funcall org-publish-all + +clean: + @echo "Cleaning up.." + @rm -rvf *.elc + @rm -rvf site + @rm -rvf ~/.org-timestamps/* |