update dependencies
[websub-hub] / static / Makefile
1 .PHONY: all
2
3 SOURCES = theme.css favicon.ico
4 TARGETS = $(SOURCES:=.gz) $(SOURCES:=.br)
5
6 all: $(TARGETS)
7
8 %.br: %
9 brotli --verbose --no-copy-stat --keep --force "$<"
10
11 %.gz: %
12 cp "$<" "$<".tmp
13 gzip "$<".tmp
14 mv "$<".tmp.gz "$@"