mirror.dongdigua.github.io/org/Makefile

17 lines
356 B
Makefile
Raw Normal View History

2022-07-13 16:26:16 +08:00
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)
2022-09-11 11:20:31 +08:00
@echo "DONE"
2022-07-13 16:26:16 +08:00
clean:
rm ./../org_html/*.html
rm ~/.org-timestamps/org-pages.cache
ls ../*.html* | grep -v "index.html" | xargs -I {} rm {}
2022-09-11 11:20:31 +08:00
rm ./../*.xml*