diff options
-rw-r--r-- | debian/changelog | 2 | ||||
-rwxr-xr-x | debian/rules | 12 |
2 files changed, 14 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index c0652ab..65dd7b4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ argyll (1.6.3-5) UNRELEASED; urgency=medium - For future use in kfreebsd-* add libusbhid-dev [kfreebsd-any] to Build-Depends. * Make debian/man/scanin.1 more readable (LP: #1192368). + * debian/rules: + - Remove timestamps from ref files to make build results reproducible. -- Jörg Frings-Fürst <debian@jff-webhosting.net> Tue, 11 Nov 2014 16:43:23 +0100 diff --git a/debian/rules b/debian/rules index c94abef..242a33e 100755 --- a/debian/rules +++ b/debian/rules @@ -16,6 +16,18 @@ override_dh_auto_install: jam $(JAMCMDLINE) dirs jam $(JAMCMDLINE) install rm $(CURDIR)/debian/tmp/usr/bin/License.txt + # + # Make build results reproducible. + # + cp $(CURDIR)/debian/tmp/usr/share/color/argyll/ref/RefMediumGamut.gam $(CURDIR)/debian/tmp/usr/share/color/argyll/ref/RefMediumGamut.tmp + cat $(CURDIR)/debian/tmp/usr/share/color/argyll/ref/RefMediumGamut.tmp | grep -v CREATED >$(CURDIR)/debian/tmp/usr/share/color/argyll/ref/RefMediumGamut.gam + rm -f $(CURDIR)/debian/tmp/usr/share/color/argyll/ref/RefMediumGamut.tmp + cp $(CURDIR)/debian/tmp/usr/share/color/argyll/ref/linear.cal $(CURDIR)/debian/tmp/usr/share/color/argyll/ref/linear.tmp + cat $(CURDIR)/debian/tmp/usr/share/color/argyll/ref/linear.tmp | grep -v CREATED >$(CURDIR)/debian/tmp/usr/share/color/argyll/ref/linear.cal + rm -f $(CURDIR)/debian/tmp/usr/share/color/argyll/ref/linear.tmp + cp $(CURDIR)/debian/tmp/usr/share/color/argyll/ref/strange.cal $(CURDIR)/debian/tmp/usr/share/color/argyll/ref/strange.tmp + cat $(CURDIR)/debian/tmp/usr/share/color/argyll/ref/strange.tmp | grep -v CREATED >$(CURDIR)/debian/tmp/usr/share/color/argyll/ref/strange.cal + rm -f $(CURDIR)/debian/tmp/usr/share/color/argyll/ref/strange.tmp override_dh_installdocs: dh_installdocs |