22 lines
519 B
Makefile
22 lines
519 B
Makefile
PARSEFUNC=md4tj-parse
|
|
CC=emacs --no-site-file --batch -l ./md4tj/md4tj_parse.el --eval
|
|
|
|
.PHONY: css
|
|
|
|
SITE_ROOT=./site_root
|
|
SITE_ROOT_RESULT=$(shell sh make_site_root.sh)
|
|
|
|
all: $(SITE_ROOT_RESULT) index about links css
|
|
|
|
index: index.md4tj
|
|
$(CC) "($(PARSEFUNC) \"index.md4tj\" \"$(SITE_ROOT)/index.html\")"
|
|
|
|
about: about.md4tj
|
|
$(CC) "($(PARSEFUNC) \"about.md4tj\" \"$(SITE_ROOT)/about.html\")"
|
|
|
|
links: links.md4tj
|
|
$(CC) "($(PARSEFUNC) \"links.md4tj\" \"$(SITE_ROOT)/links.html\")"
|
|
|
|
css:
|
|
cp css/main.css site_root/css
|