diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -1,11 +1,12 @@ JS := node_modules/chart.js/dist/chart.umd.js node_modules/chart.js/dist/chart.umd.js.map \ node_modules/chartjs-plugin-annotation/dist/chartjs-plugin-annotation.min.js \ - index.js -PHP := index.php lade_daten.php config.php -CSS := index.css punktestand.css + index.js kuchenstand.js +PHP := index.php lade_daten.php config.php kuchenstand.php +CSS := index.css punktestand.css kuchenstand.css +IMGS := img/kuchen.png .PHONY: all -all: dist/js dist/php dist/css +all: dist/js dist/php dist/css dist/img dist: mkdir -p $@ @@ -14,6 +15,10 @@ dist/js: $(JS) dist mkdir -p $@ for js in $(JS); do cp $$js $@; done +dist/img: $(IMGS) dist + mkdir -p $@ + for img in $(IMGS); do cp $$img $@; done + .PHONY: dist/php dist/php: $(PHP) dist for php in $(PHP); do cp $$php ${@D}; done |
