summaryrefslogtreecommitdiffhomepage
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index e3aa32b..3142cd5 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -19,7 +19,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 \( \
@@ -29,4 +34,4 @@ clean:
-or -name '*.tar.gz' \
\) -delete
-.PHONY: all-i18n clean release
+.PHONY: all-i18n clean release \ No newline at end of file