added Makefile

master
Anton Lydike 2 years ago
parent 1d75e6c1d6
commit 570c82b533

@ -0,0 +1,22 @@
.PHONY: clean
.PHONY: deploy
.PHONY: website
.PHONY: json
reviews.json: blog.md parse-md.py
python3 parse-md.py
web/index.html: reviews.json web/templates/index.html web/templates/review.html make-website.py
python3 make-website.py
web/reviews.json: reviews.json
cp reviews.json web/reviews.json
deploy: website
rsync -a --no-i-r --info=progress2 web/ cyberbly.at:pesto-blog/
website: web/index.html web/reviews.json web/style.css
json: reviews.json
clean:
rm web/reviews.json web/index.html reviews.json
Loading…
Cancel
Save