summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Voelker <mail@bernhard-voelker.de>2014-09-23 01:49:47 +0200
committerBernhard Voelker <mail@bernhard-voelker.de>2014-09-23 01:49:47 +0200
commitd2bcb04400cb00ffd55e7a1d4e5a8e3e7329c062 (patch)
treef91e8db1ad55e65a9014a53285c33f268968d9b7
parentbf2057b20b6c84d792816898dcded905bfdb146f (diff)
downloadcoreutils-d2bcb04400cb00ffd55e7a1d4e5a8e3e7329c062.tar.xz
build: pass program name to help2man after other options
* man/local.mk (.x.1): Move the program name argument down after the last option argument when calling $(run_help2man). While the other way would be accepted for the GNU help2man program, it is not for the 'dummy-man' script (called as a fallback on systems lacking perl). The wrong order was introduced in commit v8.21-119-gb3578fc while adding the --info-page option.
-rw-r--r--man/local.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/man/local.mk b/man/local.mk
index 61ecd0020..24cdce00f 100644
--- a/man/local.mk
+++ b/man/local.mk
@@ -187,8 +187,9 @@ endif
&& $(run_help2man) \
--source='$(PACKAGE_STRING)' \
--include=$(srcdir)/man/$$name.x \
- --output=$$t/$$name.1 $$t/$$argv \
+ --output=$$t/$$name.1 \
--info-page='\(aq(coreutils) '$$name' invocation\(aq' \
+ $$t/$$argv \
&& sed \
-e 's|$*\.td/||g' \
-e '/For complete documentation/d' \