Jim Meyering wrote: > Another feature: bootstrap adds .cvsignore and .gitignore > entries for files it supplies.
Good idea. It has annoyed me as well, but never reached the necessary pain level. Find attached a patch that implements the first part of it. The second part will be the handling of CLEANFILES and MOSTLYCLEANFILES. (Why isn't automake doing this, by the way: copying the list of CLEANFILES and MOSTLYCLEANFILES into .cvsignore and .gitignore?) > It'd be great if gnulib-tool could subsume more of the > functionality in this bootstrap script. Yes, I agree, limiting it to the functionality relating to gnulib. However, I prefer to leave out the following from gnulib-tool: - network accesses (such as doing CVS checkouts or fetching PO files), due to possible privacy issues, - parametrization of po/Makefile - that's often better done by hand. > A missing feature: files supplied by gnulib-tool should be > removed by "make maintainer-clean". If gnulib-tool doesn't > do that soon, I'll be changing bootstrap to do it. It belongs in gnulib-tool, so please change gnulib-tool to do it! Which is the set of files to be added to MAINTAINERCLEAN_FILES? - All files copied on behalf of the modules should be included. - Except lib/getloadavg.c which is needed at configure time. - All generated Makefile.am and gnulib.mks should not be included, because without them you cannot do "make" any more. - gnulib-cache.m4 and gnulib-comp.m4 should not be included, IMO. Other files that should / should not be included? Bruno