diff options
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 7 |
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 \( \ |