mirror.dongdigua.github.io/org/Makefile
dongdigua ad0b83ad7f edit: new_blog_arch, ready for CI
Makefile ignore rm org cache
collection gmi add kisslinux
2022-12-04 13:32:08 +08:00

17 lines
361 B
Makefile

EMACS=emacs
ORG_CONFIG_FILE=publish_config.el
EMACS_OPTS=--batch --eval "(load-file \"$(ORG_CONFIG_FILE)\")" -f myweb-publish
TARGET=ls ../*.html* | grep -v "index\|xmr\|404.html"
all: html
html:
@echo "Generating HTML..."
@$(EMACS) $(EMACS_OPTS)
@echo "DONE"
clean:
- rm ~/.org-timestamps/org-pages.cache
$(TARGET) | xargs -I {} rm {}
rm ../feed.xml*