29 lines
577 B
Makefile
29 lines
577 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
|
|
# Makes sure the necessary destination directories get made
|
|
SITE_ROOT_RESULT=$(shell sh make_site_root.sh)
|
|
|
|
all: $(SITE_ROOT_RESULT) index about links archives css vids
|
|
|
|
index: $(SITE_ROOT)/index.html
|
|
|
|
about: $(SITE_ROOT)/about.html
|
|
|
|
links: $(SITE_ROOT)/links.html
|
|
|
|
archives: $(SITE_ROOT)/archives.html
|
|
|
|
$(SITE_ROOT)/%.html: %.md4tj
|
|
$(CC) "($(PARSEFUNC) \"$^\" \"$@\")"
|
|
|
|
css:
|
|
cp css/main.css site_root/css
|
|
|
|
vids:
|
|
cp vids/* site_root/vids
|