summaryrefslogblamecommitdiff
path: root/Makefile
blob: f5d2b7864acb839e4f449be6c321c4268cb80065 (plain) (tree)


















                                                                           
# 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/*