From 0ae9d3ddd7c1ef412b8166ca5f279e2684c279ce Mon Sep 17 00:00:00 2001 From: likho Date: Mon, 2 Oct 2023 20:44:49 -0700 Subject: [PATCH] updated Makefile --- example/Makefile | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/example/Makefile b/example/Makefile index f25dbc5..8a91908 100644 --- a/example/Makefile +++ b/example/Makefile @@ -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