summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc.am b/doc.am
index e542161878..67da8ff8e2 100644
--- a/doc.am
+++ b/doc.am
@@ -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.