[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-pm-utils
Subject:    Re: [Pm-utils] [PATCH 1/1] Do not track the man pages.
From:       "Michael Biebl" <mbiebl () gmail ! com>
Date:       2008-03-08 8:17:49
Message-ID: aa76cdac0803080017k23142c91q3acd3de7a2f8bae9 () mail ! gmail ! com
[Download RAW message or body]

2008/3/8, Dan Nicholson <dbn.lists@gmail.com>:
> On Fri, Mar 7, 2008 at 2:20 AM, Michael Biebl <mbiebl@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".
>

The problem with that is, that the one, creating the official dist
tarballs, could miss to include the man pages.

With the current solution, only developers using the git clone, will
have to have docbook2man installed. Users who download the final
tarballs don't.
I think that's a fair compromise.

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
_______________________________________________
Pm-utils mailing list
Pm-utils@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pm-utils
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic