From 1927129a30494746800636e207d60f7dd3cacdd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Thu, 19 Feb 2015 16:07:40 +0100 Subject: Remove timestamps from ref files to make build results reproducible --- debian/changelog | 2 ++ debian/rules | 12 ++++++++++++ 2 files changed, 14 insertions(+) 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 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 -- cgit v1.2.3