]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(.x.1): Invoke our own (tweaked) copy of help2man.
authorJim Meyering <jim@meyering.net>
Thu, 22 Jan 2004 08:09:38 +0000 (08:09 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 22 Jan 2004 08:09:38 +0000 (08:09 +0000)
Use --info-page='coreutils PROG' option.
Now, readlink.1 refers the user to `info coreutils readlink'
rather than to `info readlink'.  Reported by Matt Swift.

man/Makefile.am

index f634a8f0c12d7dc12e0a6ce79b5dd4262958fe49..a10c4b89c64e4879a98ec0979ff5d51d658f86a6 100644 (file)
@@ -129,7 +129,8 @@ mapped_name = `echo $*|sed 's/install/ginstall/; s/test/[/'`
        @echo "Updating man page $@";           \
        mkdir $t;                               \
        (cd $t && $(LN_S) ../../src/$(mapped_name)$(EXEEXT) $*$(EXEEXT)); \
-       $(HELP2MAN)                             \
+       $(srcdir)/help2man                      \
+           --info-page='$(PACKAGE) $*'         \
            --include=$(srcdir)/$*.x            \
            --output=$@ $t/$*$(EXEEXT)
        @chmod a-w $@