summaryrefslogtreecommitdiffhomepage
path: root/GNUmakefile
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-06-09 02:52:36 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-06-09 02:52:36 +0200
commit4defebfff16d81c282ba4a74d1a5143d4ce46f96 (patch)
tree64c9a0e55ef4643771afeeff02ce74bbd9eb736f /GNUmakefile
parent52db1d03e5067de4ba77c3a12465149d268eb3d1 (diff)
parentf460560439ba2b5e09a2f66cbfb788501a582da1 (diff)
Merge branch 'master' of git.thomasvoss.com:euro-cash.eu
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 696fd91..d42cc0b 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -20,7 +20,12 @@ exttmpl: $(exttmpl)
go build ./cmd/exttmpl
%.min.css: %.css
- lightningcss -m $< -o $@
+ if command -v lightningcss >/dev/null; \
+ then \
+ lightningcss -m $< -o $@; \
+ else \
+ cp $< $@; \
+ fi
clean:
find . -type f \( \