X-Git-Url: http://git.squeep.com/?p=squeep-indie-auther;a=blobdiff_plain;f=static%2FMakefile;fp=static%2FMakefile;h=fa512e5be8b9d36108cc88a3f4ca6f1a1e58f417;hp=0000000000000000000000000000000000000000;hb=b0103b0d496262c438b40bc20304081dbfe41e73;hpb=8ed81748bce7cea7904cac7225b20a60cafdfc16 diff --git a/static/Makefile b/static/Makefile new file mode 100644 index 0000000..fa512e5 --- /dev/null +++ b/static/Makefile @@ -0,0 +1,14 @@ +.PHONY: all + +SOURCES = theme.css favicon.ico logo.svg +TARGETS = $(SOURCES:=.gz) $(SOURCES:=.br) + +all: $(TARGETS) + +%.br: % + brotli --verbose --no-copy-stat --keep --force "$<" + +%.gz: % + cp "$<" "$<".tmp + gzip "$<".tmp + mv "$<".tmp.gz "$@"