From fbada086bfd50d9b0fd72088ef18b0b25fc41c51 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Thu, 1 Jul 2021 10:49:27 +1000 Subject: Simplifying Makefile and licensing it under public domain --- Makefile | 12 ++---------- 1 file 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 -- cgit v1.2.3