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
|
python microblog.py ./template.tpl ./content.txt > result.html
|
||||||
|
|
||||||
# for people who don't want to read the README
|
tpl:
|
||||||
# and want to hit `make` to see how things work.
|
|
||||||
template.tpl:
|
|
||||||
cp ./example/default.tpl ./template.tpl
|
cp ./example/default.tpl ./template.tpl
|
||||||
|
|
||||||
timeline.css:
|
css:
|
||||||
cp ./example/timeline.css ./timeline.css
|
cp ./example/timeline.css ./timeline.css
|
||||||
|
|
||||||
content.txt:
|
demo:
|
||||||
cp ./example/demo.txt ./content.txt
|
cp ./example/demo.txt ./content.txt
|
||||||
|
|
||||||
|
settings:
|
||||||
|
cp ./example/settings.toml ./settings.toml
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm ./pages/*.html
|
rm ./pages/*.html
|
||||||
rm ./tags/*/*.html
|
rm ./tags/*/*.html
|
||||||
rm lastfullpage.txt
|
rm ./webring/*.html
|
||||||
rmdir ./pages ./tags/* ./tags
|
rmdir ./pages ./tags/* ./tags ./webring
|
||||||
|
Loading…
x
Reference in New Issue
Block a user