bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Incorrect documentation for AC_ERLANG_SUBST_INSTALL_LIB_DIR


From: David Reiss
Subject: Re: Incorrect documentation for AC_ERLANG_SUBST_INSTALL_LIB_DIR
Date: Tue, 11 May 2010 11:10:36 -0700
User-agent: Thunderbird 2.0.0.24 (X11/20100317)

> Since I'm not an erlang user, I'll leave it to your judgment which is
> more useful.  But for backwards compatibility, I'd prefer a patch along
> the lines of the former (better to change the docs to match reality,
> than to change reality and break configure.ac that happened to depend on
> the old semantics).
>
Here's a patch.  Should I send it to autoconf-patches instead?
I license this patch under the GFDL.  The commit message is public domain.

--David

commit b1005a543347f39c9b78ce17d86afb59a1de71ad
Author: David Reiss <address@hidden>
Date:   Tue May 11 11:02:20 2010 -0700

    Correct documentation for AC_ERLANG_SUBST_INSTALL_LIB_DIR
    
    Previously, the docs incorrectly stated that the default value was
    $ERLANG_LIB_DIR.  The default has always been $libdir/erlang/lib (at
    least as far as the git repo goes back).
    
    I didn't wrap the second isntance in a @code{} operator because it added
    some ugly extra quotes in the .info generated docs.

diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index d6a08bc..8423b86 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -8360,8 +8360,7 @@ Set the @code{ERLANG_INSTALL_LIB_DIR} output variable to 
the directory into
 which every built Erlang library should be installed in a separate
 subdirectory.
 If this variable is not set in the environment when @command{configure} runs,
-its default value is @code{$ERLANG_LIB_DIR}, which value is set by the
address@hidden macro.
+its default value is @code{$libdir/erlang/lib}.
 @end defmac
 
 @defmac AC_ERLANG_SUBST_INSTALL_LIB_SUBDIR (@var{library}, @var{version})
@@ -8372,9 +8371,7 @@ Set the @address@hidden output variable to the
 directory into which the built Erlang library @var{library} version
 @var{version} should be installed.  If this variable is not set in the
 environment when @command{configure} runs, its default value is
address@hidden/@address@hidden, the value of the
address@hidden variable being set by the
address@hidden macro.
address@hidden/erlang/lib/@address@hidden
 @end defmac
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]