bovender/Makefile

11 lines
346 B
Makefile
Raw Normal View History

.PHONY: upload
2019-12-28 08:58:13 +00:00
upload: assets/main.css sitemap.xml
2020-01-14 20:39:23 +00:00
rsync -rv --exclude .git/ --exclude src/ --exclude node_modules/ . bovender.de:/var/www/bovender/
assets/main.css: src/component.scss src/config.scss src/bovender.scss
yarn exec webpack
2019-12-28 08:58:13 +00:00
sitemap.xml: index.html privacy.html
sed -i -E "s/mod>[^<]*/mod>$$(date --rfc-3339=date)/" sitemap.xml