Skip to content
Snippets Groups Projects
Commit caaf2b59 authored by Sukhbir Singh's avatar Sukhbir Singh
Browse files

Make TorBirdy XPI deterministic (#15459)

parent 0f14f38b
No related branches found
No related tags found
No related merge requests found
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment