29 lines
679 B
Makefile
29 lines
679 B
Makefile
PARSEFUNC=md4tj-parse
|
|
CC=emacs --no-site-file --batch -l ./md4tj/md4tj_parse.el --eval
|
|
|
|
.PHONY: css
|
|
.PHONY: vids
|
|
|
|
SITE_ROOT=./site_root
|
|
SITE_ROOT_RESULT=$(shell sh make_site_root.sh)
|
|
|
|
all: $(SITE_ROOT_RESULT) index about links archives css vids
|
|
|
|
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\")"
|
|
|
|
archives: archives.md4tj
|
|
$(CC) "($(PARSEFUNC) \"archives.md4tj\" \"$(SITE_ROOT)/archives.html\")"
|
|
|
|
css:
|
|
cp css/main.css site_root/css
|
|
|
|
vids:
|
|
cp vids/* site_root/vids
|