summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-02-04 21:36:12 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-02-04 21:36:12 +0100
commitdc64b30d981d7a368d7b11aef19ec60b6f05dbbd (patch)
tree6391530fa6ae6c089f765d60b7a7dda08a5721f3 /Makefile
parent296f4db136eda92d444e7d050637fe87cca01132 (diff)
manpages: Set date to release date instead of build date
This should also help distributions working towards reproducible builds.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9f90891..160c523 100644
--- a/Makefile
+++ b/Makefile
@@ -97,6 +97,8 @@ dist:
cp src/deps.mk /tmp/feh-${VERSION}/src/deps.mk
sed -i 's/^VERSION ?= .*$$/VERSION ?= ${VERSION}/' \
/tmp/feh-${VERSION}/config.mk
+ sed -i 's/^MAN_DATE ?= .*$$/MAN_DATE ?= ${MAN_DATE}/' \
+ /tmp/feh-${VERSION}/config.mk
tar -C /tmp -cjf ../feh-${VERSION}.tar.bz2 feh-${VERSION}
rm -r /tmp/feh-${VERSION}