--- a/debian/patches/0003-set-man-page-date-to-last-changelog.patch 2020-07-10 10:15:01.880702962 +0100 --- b/debian/patches/0003-set-man-page-date-to-last-changelog.patch 2020-07-10 10:21:47.965770524 +0100 @@ -1,11 +1,11 @@ Description: Set the date of man pages to the last changelog entry. ---- a/man/man3/Makefile.am -+++ b/man/man3/Makefile.am -@@ -55,11 +55,14 @@ +--- libtpms-0.8.0~dev1.orig/man/man3/Makefile.am ++++ libtpms-0.8.0~dev1/man/man3/Makefile.am +@@ -55,11 +55,14 @@ man3_MANS_generated = \ TPM_Malloc.3 man3_MANS += $(man3_MANS_generated) -+BUILD_DATE ?= $$(dpkg-parsechangelog -S Date -lchangelog) ++BUILD_DATE ?= $$(dpkg-parsechangelog -S Date -l../../debian/changelog) +PODDATE = $$(date -u "+%Y-%m-%d" -d "$(BUILD_DATE)") %.3 : %.pod