diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -2,10 +2,10 @@ JS := node_modules/chart.js/dist/chart.umd.js node_modules/chart.js/dist/chart.u node_modules/chartjs-plugin-annotation/dist/chartjs-plugin-annotation.min.js \ index.js PHP := index.php lade_daten.php config.php -CSS := index.css +CSS := index.css punktestand.css .PHONY: all -all: dist/js dist/php dist/index.css +all: dist/js dist/php dist/css dist: mkdir -p $@ @@ -18,8 +18,9 @@ dist/js: $(JS) dist dist/php: $(PHP) dist for php in $(PHP); do cp $$php ${@D}; done -dist/index.css: index.css - cp $< $@ +.PHONY: dist/css +dist/css: $(CSS) dist + for css in $(CSS); do cp $$css ${@D}; done .PHONY: clean clean: |
