summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2018-07-13 15:47:35 +0200
committerRuben Undheim <ruben.undheim@gmail.com>2018-07-13 15:47:35 +0200
commitc56d43735709cf7002e70d848e2abbec96a9fc18 (patch)
tree53bc63e2bc2c036e6facb23bacbeb7684ba0f724 /debian/rules
parent578d73225f20affb1849f6d797ad475ac8391690 (diff)
Lintian
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 1955d22..0cc941d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
#export DH_VERBOSE=1
+include /usr/share/dpkg/pkg-info.mk
+
# The build script crashes if "-pie" is given to the build command. Therefore
# enabling the missing hardening options with LDFLAGS_MAINT_APPEND (together
# with the --as-needed option) instead of with
@@ -9,7 +11,7 @@
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,now -Wl,--as-needed
-CHANGELOG_DATE ?= $(shell date -d "`dpkg-parsechangelog --show-field Date`" +"%d %B %Y")
+CHANGELOG_DATE ?= $(shell LC_ALL=C date -u -d @$(SOURCE_DATE_EPOCH) +"%d %B %Y")
%:
dh $@ --with autotools_dev,autoreconf