diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f50b7bc --- /dev/null +++ b/Makefile @@ -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 \ No newline at end of file