Karl Berry wrote: > 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.
Hmm. When I do a "make dist" in the current hello CVS, the getopt.m4 file is also not distributed. Which makes me think the problem is not in gnulib/lib/Makefile.am but elsewhere... And in fact your gnulib/m4/gnulib-cache.m4 does not list the 'getopt' module. Running $GNULIB_TOOL --import getopt fixed it for me. Bruno