diff options
| author | Sukhbir Singh <sukhbir@torproject.org> | 2016-05-03 15:29:52 -0400 |
|---|---|---|
| committer | Sukhbir Singh <sukhbir@torproject.org> | 2016-05-03 15:29:52 -0400 |
| commit | caaf2b593ba2a116ac8f63416bb311bcdd140ee2 (patch) | |
| tree | 1029bb0223e43925bcaa0d647c7287959cbf764c | |
| parent | 0f14f38b7fad2983623157eaedc8af294eeb74fc (diff) | |
Make TorBirdy XPI deterministic (#15459)
| -rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,9 +1,15 @@ SHELL := /bin/bash VERSION := $(shell cat install.rdf|grep '<em:version>'|cut -d\> -f2|cut -d\< -f1) +FAKETIME := 200001010000 + make-xpi: zip -r ../torbirdy-$(VERSION).xpi * -x "debian/*" -x "patches/*" -x "ChangeLog" -x "Makefile" -x "gpg.conf" -x "import-translations.sh" -x "README.RELEASE" +make-reproducible: + find . -print0 | xargs -0 touch -t $(FAKETIME) + zip -X ../torbirdy-$(VERSION).xpi `find . | sort` -x "debian/*" -x "patches/*" -x "ChangeLog" -x "Makefile" -x "gpg.conf" -x "import-translations.sh" -x "README.RELEASE" -x *.git* + clean: rm -f ../torbirdy-$(VERSION).xpi |
