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.

27 lines
624 B
Makefile

2 years ago
.PHONY: clean
.PHONY: deploy
.PHONY: website
.PHONY: json
5 months ago
website: web/index.html web/reviews.json web/style.css web/table.html
2 years ago
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/table.html: reviews.json web/templates/table.html make_table.py
python3 make_table.py
2 years ago
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/
json: reviews.json
clean:
5 months ago
rm web/reviews.json web/index.html reviews.json