You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
516 B
Makefile

2 years ago
.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
2 years ago
json: reviews.json
clean:
rm web/reviews.json web/index.html reviews.json