bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] improve gnulib-tool output


From: Paul Eggert
Subject: Re: [bug-gnulib] improve gnulib-tool output
Date: Fri, 13 May 2005 00:04:35 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

> Would it make sense to give meaning to `configure; make; make install'
> within gnulib to install gnulib-tool onto the user's preferred
> location? And would an option such as `gnulib-tool --location' that
> outputs the location of gnulib's database be a useful addition?

I'd vote for the latter over the former.  gnulib-tool isn't
really meant to be installed, and adding support for that
would take some work.

Thanks for the patch.  I installed this minor variant:

--- gnulib-tool 21 Apr 2005 22:10:05 -0000      1.44
+++ gnulib-tool 13 May 2005 07:01:19 -0000      1.45
@@ -699,8 +699,8 @@ func_import ()
   echo
   echo "You may need to add #include directives for the following .h files."
   for module in $modules; do
-    func_get_include_directive "$module" | sed -e '/^$/d;' -e 's/^/  /'
-  done
+    func_get_include_directive "$module"
+  done | LC_ALL=C sort -u | sed -e '/^$/d;' -e 's/^/  /'
   echo
   echo "Don't forget to add \"$sourcebase/Makefile\""
   echo "to AC_CONFIG_FILES in \"$configure_ac\" and to mention"




reply via email to

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