[Pm-utils] [PATCH 1/1] Do not track the man pages.

Dan Nicholson dbn.lists at gmail.com
Fri Mar 7 19:04:46 PST 2008


On Fri, Mar 7, 2008 at 2:20 AM, Michael Biebl <mbiebl at gmail.com> wrote:
>
>  Shouldn't we add a configure check for docbook2man then? On the other
>  hand, as we distribute the man pages in the dist tarball, docbook2man
>  is not strictly necessary either.

Yes, but I don't have docbook2man everywhere. The Makefile should be
conditional on whether I have it so I don't bomb my build on the man
pages. Something like:

configure.ac
...
AC_PATH_PROG(DOCBOOK2MAN, docbook2man, no)
AM_CONDITIONAL(HAVE_DB2MAN, test "x$DOCBOOK2MAN" != xno)
...

and then surround the man_MANS in Makefile.am with "if HAVE_DB2MAN".

--
Dan


More information about the Pm-utils mailing list