aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-01-23 17:46:46 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2026-01-23 17:46:46 +0100
commit70a141f72ee276b7cf80f6fe458a81e03eb03836 (patch)
treeb98a9a1a5c778d62c1b0f3fbac42262245cd082f /Makefile
parentae5ce7caa4e52b8008cfbddf1b226fcf24b32ae2 (diff)
downloadpunktestand-70a141f72ee276b7cf80f6fe458a81e03eb03836.tar.gz
punktestand-70a141f72ee276b7cf80f6fe458a81e03eb03836.zip
separiere den Punktestand spezifischen CSS Code in eigene Datei
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f07d611..00d352a 100644
--- a/Makefile
+++ b/Makefile
@@ -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: