mirror.dongdigua.github.io/org/Makefile

18 lines
342 B
Makefile
Raw Permalink Normal View History

2022-07-13 16:26:16 +08:00
EMACS=emacs
ORG_CONFIG_FILE=publish_config.el
TARGET=ls ../*.html* | grep -v "index\|xmr\|404.html"
2022-07-13 16:26:16 +08:00
EMACS_OPTS=--script $(ORG_CONFIG_FILE) -f myweb-publish
2023-05-29 16:10:46 +08:00
2022-07-13 16:26:16 +08:00
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-timestamps/org-pages.cache
2022-12-10 14:05:00 +08:00
- $(TARGET) | xargs -I {} rm {}
- rm ../feed.xml*