[Top][All Lists]

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

[bug-gnulib] Re: patch: gnulib-tool --symlink and --aux-dir

From: Oskar Liljeblad
Subject: [bug-gnulib] Re: patch: gnulib-tool --symlink and --aux-dir
Date: Mon, 18 Apr 2005 22:03:16 +0200
User-agent: Mutt/1.5.6+20040907i

On Friday, April 15, 2005 at 11:44, Simon Josefsson wrote:
> I think --symbolic is better.  I know autoreconf uses --symlink, but I
> think an abbreviation like that is poor style in a long option.  And
> --symbolic is mentioned in the GNU coding standards.

--symbolic is good with me too. However, "symlink" is useful as a verb
as well, which "symbolic" isn't.

> > Add --aux-dir, specifying directory relative --dir where auxiliary build
> > tools are placed (only relevant for --import). Files in 'build-aux' in
> > module spec files are copied to this directory. AC_CONFIG_AUX_DIR in
> > configure.ac also specifies this directory.
> Great.
> Shouldn't this be --aux-base, to mimic --m4-base and --source-base?
> Or possibly the latter two should be changed to --m4-dir and
> --source-dir?

Quite possible. I decided on --aux-dir because the macro is called
AC_CONFIG_AUX_DIR - the gl macros are _BASE.

> Do you want to update the manual to mention this as well?

Below is my attempt at documenting the two additions.


Oskar Liljeblad (address@hidden)

Index: gnulib.texi
RCS file: /cvsroot/gnulib/gnulib/doc/gnulib.texi,v
retrieving revision 1.6
diff -u -p -r1.6 gnulib.texi
--- gnulib.texi 29 Sep 2004 10:58:47 -0000      1.6
+++ gnulib.texi 18 Apr 2005 19:56:37 -0000
@@ -279,6 +279,9 @@ Creating ./lib/Makefile.am...
 Creating ./m4/gnulib.m4...
+You may need to add #include directives for the following .h files.
+  #include "strdup.h"
 Don't forget to add "lib/Makefile"
 to AC_CONFIG_FILES in "./configure.ac" and to mention
 "lib" in SUBDIRS in some Makefile.am.
@@ -290,6 +293,15 @@ macros in @file{m4/}.  You can override 
 @code{--source-base=DIRECTORY} and @code{--m4-base=DIRECTORY}, or by
 adding @samp{gl_SOURCE_BASE(DIRECTORY)} and
 @samp{gl_M4_BASE(DIRECTORY)} to your @file{configure.ac}.
+Some modules also provide other files necessary
+for building. These files are copied into the directory specified
+by @samp{AC_CONFIG_AUX_DIR} in @file{configure.ac} or by the
address@hidden option. If neither is specified, the
+current directory is assumed.
address@hidden can make symbolic links instead
+of copying the source files. Use the @code{--symbolic}
+(or @code{-s} for short) option to do this.
 @code{gnulib-tool} will overwrite any pre-existing files, in
 particular @file{Makefile.am}.  Unfortunately, separating the

reply via email to

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