summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSean Whitton2016-01-17 12:52:50 -0700
committerJoey Hess2016-01-18 13:14:57 -0400
commit54234525d1ab376699981ef0fca1db693a7e4c9d (patch)
tree5ea98b67dba31b3c93c45f7f180612080a68a262 /Makefile
parent0b459d371e679f686069358358016f2539bbf7cb (diff)
/usr/src/propellor/propellor.git date reproducible
Take from last changelog entry. (cherry picked from commit ecb2811284c01caa9ed4470052f812bb8ba2471e)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 733e718c..805bbd2b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
CABAL?=cabal
+DATE := $(shell dpkg-parsechangelog | grep Date | cut -d " " -f2-)
# this target is provided (and is first) to keep old versions of the
# propellor cron job working, and will eventually be removed
@@ -23,7 +24,7 @@ install:
&& export GIT_COMMITTER_EMAIL=build@buildhost \
&& cd dist/gittmp && git init \
&& git add . \
- && git commit -q -m "distributed version of propellor" \
+ && git commit --date="$(DATE)" -q -m "distributed version of propellor" \
&& git bundle create $(DESTDIR)/usr/src/propellor/propellor.git master HEAD \
&& git show-ref master --hash > $(DESTDIR)/usr/src/propellor/head
rm -rf dist/gittmp