bug-gnulib
[Top][All Lists]
Advanced

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

[bug-gnulib] quieter gnulib-tool?


From: Karl Berry
Subject: [bug-gnulib] quieter gnulib-tool?
Date: Thu, 19 May 2005 10:11:33 -0400

I was just wondering, would it be feasible/desirable to have an option
(--changes a la chmod?) to gnulib-tool so that it only reports files
actually created or changed?

I just added a single getopt module (getopt, plus its dependency
gettext) to Hello.  It went well, easier than I had feared (thanks
everyone), but now when I run gnulib-tool I get a lot of output (below)
even though nothing has actually changed.  I'd like to have an option
where, if the tool does nothing, it has no output.  The idea being that
that would make it easy to tell when something has changed.

Particularly troublesome are the misleading lines:
  Creating ./gnulib/lib/Makefile.am...
  Creating ./gnulib/m4/gnulib.m4...

Since they haven't changed, the script is smart enough not to update
them (yay), but still emits the above.

Wdyt?  Obviously it's not a huge deal, just thought I'd mention it.

Thanks,
karl


$ gnulib-tool --import
Module list with included dependencies:
  getopt
  gettext
File list:
  build-aux/config.rpath
  lib/getopt.c
  lib/getopt1.c
  lib/getopt_.h
  lib/getopt_int.h
  lib/gettext.h
  m4/codeset.m4
  m4/getopt.m4
  m4/gettext.m4
  m4/glibc2.m4
  m4/glibc21.m4
  m4/iconv.m4
  m4/intdiv0.m4
  m4/intmax.m4
  m4/inttypes-pri.m4
  m4/inttypes.m4
  m4/inttypes_h.m4
  m4/isc-posix.m4
  m4/lcmessage.m4
  m4/lib-ld.m4
  m4/lib-link.m4
  m4/lib-prefix.m4
  m4/longdouble.m4
  m4/longlong.m4
  m4/nls.m4
  m4/onceonly_2_57.m4
  m4/po.m4
  m4/printf-posix.m4
  m4/progtest.m4
  m4/signed.m4
  m4/size_max.m4
  m4/stdint_h.m4
  m4/uintmax_t.m4
  m4/ulonglong.m4
  m4/wchar_t.m4
  m4/wint_t.m4
  m4/xsize.m4
Creating ./gnulib/lib/Makefile.am...
Creating ./gnulib/m4/gnulib.m4...
Finished.

You may need to add #include directives for the following .h files.
  #include "gettext.h"
  #include <getopt.h>

Don't forget to add "gnulib/lib/Makefile"
to AC_CONFIG_FILES in "./configure.ac" and to mention
"lib" in SUBDIRS in some Makefile.am.




reply via email to

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