summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-02-19 16:07:40 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-02-19 16:07:40 +0100
commit1927129a30494746800636e207d60f7dd3cacdd3 (patch)
tree29000284b7e288c9eacdd57fb9f9ab59a4d69c3f
parent49f57f920ddd7ec9450b199fb7d2f0ada1474206 (diff)
Remove timestamps from ref files to make build results reproducible
-rw-r--r--debian/changelog2
-rwxr-xr-xdebian/rules12
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