thejerks.club/Makefile

22 lines
519 B
Makefile
Raw Normal View History

2022-12-31 21:26:46 -05:00
PARSEFUNC=md4tj-parse
CC=emacs --no-site-file --batch -l ./md4tj/md4tj_parse.el --eval
.PHONY: css
2022-12-31 21:26:46 -05:00
SITE_ROOT=./site_root
SITE_ROOT_RESULT=$(shell sh make_site_root.sh)
2022-12-31 21:26:46 -05:00
all: $(SITE_ROOT_RESULT) index about links css
2023-01-01 10:52:52 -05:00
2022-12-31 21:26:46 -05:00
index: index.md4tj
$(CC) "($(PARSEFUNC) \"index.md4tj\" \"$(SITE_ROOT)/index.html\")"
about: about.md4tj
$(CC) "($(PARSEFUNC) \"about.md4tj\" \"$(SITE_ROOT)/about.html\")"
2023-01-01 10:52:52 -05:00
links: links.md4tj
$(CC) "($(PARSEFUNC) \"links.md4tj\" \"$(SITE_ROOT)/links.html\")"
2023-01-02 21:11:26 -05:00
css:
2023-01-02 21:11:26 -05:00
cp css/main.css site_root/css