On Mon, Apr 28, 2008 at 5:09 AM, Stefan Seyfried <[EMAIL PROTECTED]> wrote: > Michael Biebl wrote: > > 2008/3/8, Dan Nicholson <[EMAIL PROTECTED]>: > > >> 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". > >> > > > > The problem with that is, that the one, creating the official dist > > tarballs, could miss to include the man pages. > > Then just kill "make dist" if it is not there but not a plain make. I just > had > to download and install 500MB of stuff, just to be able to do a test build.
I just committed a patch that makes docbook2man optional, but forces the built man pages to be included in `make dist'. You'll get a weird error if you try to run `make dist' and you don't have docbook2man installed. I think this covers all the situations. Also, `make distcheck' is broken by the ChangeLog rule. Looking into it... -- Dan _______________________________________________ Pm-utils mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pm-utils
