Hello Ed, * Ed Hartnett wrote on Fri, Apr 02, 2010 at 07:15:34PM CEST: > We don't want all this to happen when the user builds netcdf, so I have > a line in the Makefile.am: > > # These files will be included with the dist. > EXTRA_DIST = netcdf.m4 $(pdf_docs) $(html_mans) $(txt_docs) $(dvi_docs) > \ > $(ps_docs) $(info_docs) $(html_docs) netcdf_f77.3 > > So when the user builds netcdf, all the documentation is already built, > and that works fine. > > The problem is, if the user does "make clean" the documentation is > deleted, even though I have no clean target in the Makefile.am (which is > appeneded in full). > > So how do I tell automake that I don't want it to delete my > documentation? I thought that putting it in the extra_dist would mean > that it would not be cleaned...
Limitation in current Automake. I think if the files are listed in MAINTAINERCLEANFILES (or maybe if they are listed in EXTRA_DIST) then they should not be cleaned upon 'make clean'. This request has come up before. Cheers, Ralf