From 41517a69eec29e62dbbb304265ccfc0e1681c400 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Mon, 11 Jul 2011 12:50:12 +0200 Subject: [PATCH] build: Ship generated man pages in tarballs This significantly reduces the build dependencies on tarballs, as docbook2man actually brings a lot with it. --- configure.ac | 2 +- man/Makefile.am | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 885a24c..8938622 100644 --- a/configure.ac +++ b/configure.ac @@ -157,7 +157,7 @@ dnl - Is docbook2man available? dnl --------------------------------------------------------------------------- AC_PATH_PROG(DOCBOOK2MAN, docbook2man, no) if test "$DOCBOOK2MAN" = "no" ; then - AC_MSG_WARN([docbook2man not found, will not be able to build man documentation]) + AC_MSG_WARN([docbook2man not found, will not be able to build man documentation (if tarball, pre-generated documentation will be installed)]) fi AM_CONDITIONAL(HAVE_DOCBOOK2MAN, [test "$DOCBOOK2MAN" != "no"]) diff --git a/man/Makefile.am b/man/Makefile.am index 7e244e9..54d6868 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,13 +1,17 @@ +man_MANS_DIST = \ + colormgr.1 \ + cd-create-profile.1 \ + cd-fix-profile.1 + EXTRA_DIST = \ colormgr.sgml \ cd-create-profile.sgml \ - cd-fix-profile.sgml + cd-fix-profile.sgml \ + $(man_MANS_DIST) if HAVE_DOCBOOK2MAN man_MANS = \ - colormgr.1 \ - cd-create-profile.1 - cd-fix-profile.1 + $(man_MANS_DIST) endif if HAVE_DOCBOOK2MAN -- 1.7.6