File: use_debian_packaged_help2man.patch

package info (click to toggle)
phast 1.7%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,124 kB
  • sloc: ansic: 54,210; makefile: 364; sh: 348; perl: 321
file content (21 lines) | stat: -rw-r--r-- 727 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Author: Andreas Tille <tille@debian.org>
Last-Update: 2016-05-27
Description: Debian packaged help2man creates better results

--- a/src/Makefile
+++ b/src/Makefile
@@ -12,7 +12,7 @@ ifeq ($(TARGETOS), Windows)
 else
 	mkdir -p ../doc/man/
 	@echo "Generating man pages..."
-	@for file in `ls ../bin` ; do perl help2man.pl ../bin/$$file ../doc/man/ ; done
+	@for file in `ls ../bin` ; do ../debian/help2man_wrapper ../bin/$$file > ../doc/man/$${file}.1 ; done
 	@echo "Done."
 endif
 
@@ -41,4 +42,4 @@ clean:
 	rm -rf ../bin ../lib ../doc
 
 manpages:
-	@for file in `ls ../bin` ; do perl help2man.pl ../bin/$$file ; done
+	@for file in `ls ../bin` ; do ../debian/help2man_wrapper ../bin/$$file > ../doc/man/$${file}.1 ; done