<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] configure.ac: Install docs to



On Wed, Apr 15, 2009 at 11:33:26AM +0200, Vincent Lefevre wrote:
> On 2009-04-14 13:29:06 -0400, Loui Chang wrote:
> > # HG changeset patch
> > # User Loui Chang <louipc.ist@xxxxxxxxx>
> > # Date 1239728776 14400
> > # Node ID 277775dff32852ebbd5619e96b94d91c9001a693
> > # Parent  f467353f5657d9504dc5924fefc804fadc586f57
> > configure.ac: Install docs to $prefix/usr/share/doc/mutt by default.
> > 
> > This fits the FHS better.
> > http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSHAREARCHITECTUREINDEPENDENTDATA
> > 
> > diff -r f467353f5657 -r 277775dff328 configure.ac
> > --- a/configure.ac  Sat Mar 31 18:50:39 2007 -0700
> > +++ b/configure.ac  Tue Apr 14 13:06:16 2009 -0400
> > @@ -524,7 +524,7 @@
> >  AC_MSG_CHECKING(where to put the documentation)
> >  AC_ARG_WITH(docdir, AC_HELP_STRING([--with-docdir=PATH], [Specify where to 
> > put the documentation]),
> >          [mutt_cv_docdir=$withval],
> > -        [mutt_cv_docdir='${prefix}/doc/mutt'])
> > +        [mutt_cv_docdir='${prefix}/share/doc/mutt'])
> >  AC_MSG_RESULT($mutt_cv_docdir)
> >  
> >  docdir=$mutt_cv_docdir
> 
> This is strange. The Mutt source is here:
> 
> AC_MSG_CHECKING(where to put the documentation)
> AC_ARG_WITH(docdir, AC_HELP_STRING([--with-docdir=PATH], [Specify where to 
> put the documentation]),
>         [mutt_cv_docdir=$withval],
>         [mutt_cv_docdir='${datarootdir}/doc/mutt'])
> AC_MSG_RESULT($mutt_cv_docdir)
> 
> and this is already correct.

Ah thanks for pointing that out. I see the problem. It's the HEAD vs
default branch problem. I knew this, but there are some quirks in my
build scripts. Sorry about the bother.