updated Makefile
This commit is contained in:
parent
84e647a390
commit
0ae9d3ddd7
@ -1,22 +1,23 @@
|
||||
|
||||
|
||||
all: template.tpl content.txt timeline.css
|
||||
all: demo tpl css settings
|
||||
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:
|
||||
tpl:
|
||||
cp ./example/default.tpl ./template.tpl
|
||||
|
||||
timeline.css:
|
||||
css:
|
||||
cp ./example/timeline.css ./timeline.css
|
||||
|
||||
content.txt:
|
||||
demo:
|
||||
cp ./example/demo.txt ./content.txt
|
||||
|
||||
settings:
|
||||
cp ./example/settings.toml ./settings.toml
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm ./pages/*.html
|
||||
rm ./tags/*/*.html
|
||||
rm lastfullpage.txt
|
||||
rmdir ./pages ./tags/* ./tags
|
||||
rm ./webring/*.html
|
||||
rmdir ./pages ./tags/* ./tags ./webring
|
||||
|
Loading…
x
Reference in New Issue
Block a user