Bruce Korb wrote: > > ${glib} --import ${gnulib_libs} > > > > ( echo > > echo '## begin sharutils stuff' > > echo > > echo "EXTRA_DIST += ${extra_libs}" > > ) >> lib/Makefile.am > > yielding this as the end of lib/Makefile.am: > > > ## begin sharutils stuff > > > > EXTRA_DIST += \ > > basename.h exit.h gen-uio liballoca.h md5.c \ > > md5.h stpcpy.h system.h whoami.c xstrdup.c
An alternative to this is to pass to gnulib-tool the option --makefile-name=Makefile.gnulib, and have Makefile.am written by hand that looks roughly like this: include Makefile.gnulib EXTRA_DIST += \ basename.h exit.h gen-uio liballoca.h md5.c \ md5.h stpcpy.h system.h whoami.c xstrdup.c Btw, exit.h existed in gnulib earlier and has been merged into stdlib.h. stpcpy.h existed in gnulib earlier and has been merged into string.h. A function 'xstrdup' is already defined by module 'xalloc' (file xmalloc.c). Bruno