mirror of
https://github.com/dongdigua/dongdigua.github.io
synced 2024-11-28 01:40:54 +08:00
12 lines
228 B
Makefile
12 lines
228 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"
|
||
|
|