build: Use the right section and source for man pages.

* doc.am (HELP2MANFLAGS): New variable.
(gen_man): Use it.
This commit is contained in:
Ludovic Courtès 2016-01-31 17:35:56 +01:00
parent e3f755f44c
commit ff853a2a06
1 changed files with 5 additions and 1 deletions

6
doc.am
View File

@ -120,7 +120,11 @@ dist_man1_MANS = \
$(sub_commands_mans)
# Man pages are generated using GNU help2man.
gen_man = LANGUAGE= $(top_builddir)/pre-inst-env $(HELP2MAN)
gen_man = \
LANGUAGE= $(top_builddir)/pre-inst-env $(HELP2MAN) \
$(HELP2MANFLAGS)
HELP2MANFLAGS = --source=GNU --info-page=$(PACKAGE_TARNAME)
# Note: Do not depend on 'scripts/guix' since that would trigger a rebuild
# even for people building from a tarball.