diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2026-01-23 18:11:38 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-01-23 18:13:57 +0100 |
| commit | 81acf4bb41d4d9297d1dcb9baa901b5bb0c3975e (patch) | |
| tree | 43ee97784d50b2aeb8f66736128ced8912825b4e /Makefile | |
| parent | de186f81e3e84f706e79e3623cbc6226ebdb12fe (diff) | |
| download | punktestand-81acf4bb41d4d9297d1dcb9baa901b5bb0c3975e.tar.gz punktestand-81acf4bb41d4d9297d1dcb9baa901b5bb0c3975e.zip | |
füge eine einfache kuchenstand Webseite hinzu
Die kuchenstand Webseite betrachtet nur die konfigurierten
Streak-Ereignisse und stellt diese als prozentualen Kuchen dar.
TODO: Mache das Streak-Symbolbild konfigurierbar.
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 |
