mirror.dongdigua.github.io/org/Makefile
dongdigua bf4a00a709 able to build org
Set theme jekyll-theme-architect
2022-07-13 19:33:17 +08:00

15 lines
299 B
Makefile

EMACS=emacs
ORG_CONFIG_FILE=publish_config.el
EMACS_OPTS=--batch --eval "(load-file \"$(ORG_CONFIG_FILE)\")" -f myweb-publish
all: html
html:
@echo "Generating HTML..."
@$(EMACS) $(EMACS_OPTS)
@echo "HTML generation done"
clean:
rm ./../org-html/*.html
rm ~/.org-timestamps/org-pages.cache