23 lines
486 B
Makefile
23 lines
486 B
Makefile
|
|
|
|
all: template.tpl content.txt timeline.css
|
|
python microblog.py ./template.tpl ./content.txt > result.html
|
|
|
|
# for people who don't want to read the README
|
|
# and want to hit `make` to see how things work.
|
|
template.tpl:
|
|
cp ./example/default.tpl ./template.tpl
|
|
|
|
timeline.css:
|
|
cp ./example/timeline.css ./timeline.css
|
|
|
|
content.txt:
|
|
cp ./example/demo.txt ./content.txt
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm ./pages/*.html
|
|
rm ./tags/*/*.html
|
|
rm lastfullpage.txt
|
|
rmdir ./pages ./tags/* ./tags
|