aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuchen Pei <me@ypei.me>2021-07-01 10:49:27 +1000
committerYuchen Pei <me@ypei.me>2021-07-01 10:49:27 +1000
commitfbada086bfd50d9b0fd72088ef18b0b25fc41c51 (patch)
treebe14584f722013c8095f36120005b3c39348b2aa
parente4d6b56677a4bdcf4e3c2679d644a8b4521dcf5f (diff)
Simplifying Makefile and licensing it under public domain
-rw-r--r--Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 6ee852c..b765494 100644
--- a/Makefile
+++ b/Makefile
@@ -1,19 +1,11 @@
-# Makefile for myblog
-
-.PHONY: all publish publish_no_init
-
-all: publish
+# Makefile for site publishing. This file is under public domain.
publish: publish.el
- @echo "Publishing... with current Emacs configurations."
+ @echo "Publishing..."
emacs --batch --load publish.el --funcall org-publish-all
./post-process.sh
python rss.py
-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