From 570c82b533505c2b677a7acdb874af9a64c149c1 Mon Sep 17 00:00:00 2001 From: Anton Lydike Date: Sat, 6 Aug 2022 19:34:58 +0200 Subject: [PATCH] added Makefile --- Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Makefile 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