automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question about having documentation output NOT be cleaned...


From: Ralf Wildenhues
Subject: Re: question about having documentation output NOT be cleaned...
Date: Sun, 4 Apr 2010 08:03:16 +0200
User-agent: Mutt/1.5.20 (2009-10-28)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]