mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-21 21:30:08 +00:00
Make generated archives reproducible
This commit is contained in:
parent
84c706bf89
commit
ca74ca6538
4
Makefile
4
Makefile
@ -8,7 +8,7 @@ be.bastelstu.chat.tar.gz: be.bastelstu.chat.tar
|
||||
gzip -9 < $< > $@
|
||||
|
||||
be.bastelstu.chat.tar: files.tar files_wcf.tar acptemplates.tar templates.tar *.xml LICENSE sql/*.sql language/*.xml
|
||||
tar cvf be.bastelstu.chat.tar --numeric-owner --exclude-vcs -- $^
|
||||
tar cvf $@ --mtime="@$(shell git log -1 --format=%ct)" --owner=0 --group=0 --numeric-owner --exclude-vcs -- $^
|
||||
|
||||
files.tar: $(FILES)
|
||||
files_wcf.tar: $(WCF_FILES) files_wcf/js/Bastelstu.be.Chat.min.js
|
||||
@ -16,7 +16,7 @@ acptemplates.tar: acptemplates/*.tpl
|
||||
templates.tar: templates/*.tpl
|
||||
|
||||
%.tar:
|
||||
tar cvf $@ --numeric-owner --exclude-vcs -C $* -- $(^:$*/%=%)
|
||||
tar cvf $@ --mtime="@$(shell git log -1 --format=%ct)" --owner=0 --group=0 --numeric-owner --exclude-vcs -C $* -- $(^:$*/%=%)
|
||||
|
||||
files_wcf/js/Bastelstu.be.Chat.min.js: Bastelstu.be.Chat.babel.js
|
||||
yarn run terser --comments '/Copyright|stackoverflow/' -m -c pure_funcs=[console.debug] --verbose --timings -o $@ $^
|
||||
|
Loading…
Reference in New Issue
Block a user