blob: 39d4a199f0c455a8a0b8b65453c9ae2e25b4f84d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
Description: Set the date of man pages to the last changelog entry.
Forwarded: not-needed
--- a/man/man3/Makefile.am
+++ b/man/man3/Makefile.am
@@ -55,11 +55,14 @@
TPM_Malloc.3
man3_MANS += $(man3_MANS_generated)
+BUILD_DATE ?= $$(dpkg-parsechangelog -S Date -l../../debian/changelog)
+PODDATE = $$(date -u "+%Y-%m-%d" -d "$(BUILD_DATE)")
%.3 : %.pod
@pod2man -r "libtpms" \
-c "" \
-n $(basename $@) \
+ --date="$(PODDATE)" \
--section=3 $< > $@
EXTRA_DIST = $(man3_MANS) $(man3_PODS)
|