summaryrefslogtreecommitdiff
path: root/debian/patches/manmakefile.-patch-to-use-the-system-hel.patch
blob: f755d56729178640cc2b3c0925d1c92e18b493ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 29 Dec 2020 07:34:39 +0000
X-Dgit-Generated: 1:4.14-6 caa3b2561bb2d5aece28e7e35d8f6095b8314bd9
Subject: man/Makefile.*: Patch to use the system help2man. (Closes: #978609, #971819)

The embedded copy of help2man embeds the build time.

https://tests.reproducible-builds.org/debian/issues/bullseye/timestamps_in_manpages_generated_by_help2man_issue.html

---

--- a2ps-4.14.orig/man/Makefile.am
+++ a2ps-4.14/man/Makefile.am
@@ -9,7 +9,7 @@ texi2dvi4a2ps.1: $(top_srcdir)/contrib/t
 EXTRA_DIST = $(man_MANS) $(HELP2MAN) $(man_aux) \
   Makefile.maint GNUmakefile common.x
 PERL = @PERL@
-HELP2MAN = help2man
+HELP2MAN = /usr/bin/help2man
 MAINTAINERCLEANFILES = $(man_MANS)
 
 # For additional rules usually of interest only to the maintainer,
--- a2ps-4.14.orig/man/Makefile.in
+++ a2ps-4.14/man/Makefile.in
@@ -260,7 +260,7 @@ irregular_men = a2ps.1 texi2dvi4a2ps.1
 EXTRA_DIST = $(man_MANS) $(HELP2MAN) $(man_aux) \
   Makefile.maint GNUmakefile common.x
 
-HELP2MAN = help2man
+HELP2MAN = /usr/bin/help2man
 MAINTAINERCLEANFILES = $(man_MANS)
 all: all-am
 
--- a2ps-4.14.orig/man/Makefile.maint
+++ a2ps-4.14/man/Makefile.maint
@@ -1,7 +1,7 @@
 # This -*- Makefile -*- uses features of GNU make.
 # It is included via GNUmakefile.
 
-HELP2MAN-run = $(PERL) -w -- $(srcdir)/$(HELP2MAN)
+HELP2MAN-run = /usr/bin/help2man
 
 # Depend on configure.in to get version number changes.
 $(man_MANS): $(top_srcdir)/configure.in common.x