copyparty/copyparty/web/Makefile
ed d68028890d minify translations a little;
saves 7.4 KiB after zopfli; reduction from 343.8 to 336.4
2026-02-16 21:24:42 +00:00

21 lines
451 B
Makefile

# run me to zopfli all the static files
# which should help on really slow connections
# but then why are you using copyparty in the first place
pk: $(addsuffix .gz, $(wildcard tl/*.js *.js *.css) \
a/webdav-cfg.txt )
un: $(addsuffix .un, $(wildcard tl/*.gz *.gz a/*.gz))
tl/%.js.gz: tl/%.js
./Makefile.s1 <$< | pigz -c11 -J 34 -I 573 >$@
touch -r $< $@
rm $<
%.gz: %
pigz -c11 -J 34 -I 573 <$< >$@
touch -r $< $@
rm $<
%.un: %
pigz -d $<