Package: phast / 1.4+dfsg-1

use_debian_packaged_help2man.patch Patch series | download
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: Fri, 27 May 2016 18:06:35 +0200
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