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.
|
|
|
.PHONY: clean
|
|
|
|
.PHONY: deploy
|
|
|
|
.PHONY: website
|
|
|
|
.PHONY: json
|
|
|
|
|
|
|
|
website: web/index.html web/reviews.json web/style.css web/table.html
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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:
|
|
|
|
rm web/reviews.json web/index.html reviews.json
|