Re: [PATCH] configure.ac: Install docs to
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.
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)