Hello Karl,

* Karl Berry wrote on Mon, Aug 14, 2006 at 03:36:11PM CEST:
> In trying to prepare the release of (gasp) GNU Hello, I'm finding that
> some gnulib files are being left out of the distribution tar.gz,
> specifically the getopt-related ones.  It looks like this is because the
> gnulib Makefile.am just has:
> 
> libgnu_a_SOURCES =
> libgnu_a_LIBADD = @LIBOBJS@
> noinst_HEADERS =
> pkgdata_DATA =
> EXTRA_DIST =
> 
> And the system getopt on the machine where I'm working already suffices,
> so it's not included in LIBOBJS.  But obviously (?) it should be
> included in the distribution.

Yes.  This is how it should work:
  the gnulib machinery should cause gl_GETOPT to be used somewhere,
  gl_GETOPT should expand gl_GETOPT_SUBSTITUTE,
  gl_GETOPT_SUBSTITUTE has AC_LIBOBJ([getopt]),
  that in turn calls AC_LIBSOURCE([getopt.c]),
  which in turn is traced by Automake for adding to distribution.

How can we get at a more complete Hello example to find out what exactly
went wrong?

> BTW, the actual error comes from xgettext at make distcheck:
> /usr/local/gnu/bin/xgettext: error while opening "gnulib/lib/getopt.c" for 
> reading: No such file or directory

Cheers,
Ralf


Reply via email to