bug-automake
[Top][All Lists]
Advanced

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

Re: dist_... files not deleted by distclean


From: Jirka Hanika
Subject: Re: dist_... files not deleted by distclean
Date: Thu, 11 Jul 2002 15:51:09 +0200
User-agent: Mutt/1.2.5.1i

On Thu, Jul 11, 2002 at 07:41:39AM -0600, Tom Tromey wrote:
> >>>>> "Jirka" == Jirka Hanika <address@hidden> writes:
> 
> Jirka> Suppose my package requires a bunch of architecture independent
> Jirka> data files (say, icons).  It seems natural for these files to
> Jirka> get installed into pkgdatadir and to go to the distribution, so
> Jirka> I write something like
> 
> Jirka> dist_pkgdata_DATA = $(srcdir)/*.png
> 
> Using `*.png' won't work.  Adding $(srcdir) to it makes it seem like
> it will work, but really it won't.  If you just list all the .png
> files there, then the right thing will happen.

Sad news, I wanted to avoid a possible discrepancy between the list and
the actual files, however thanks for a hint.

> Jirka> in the corresponding Makefile.am; this however causes "make
> Jirka> distcheck" to fail ("files left after distclean"), because the
> Jirka> files are copied to the distribution, but not deleted with
> Jirka> distclean.
> 
> I don't fully understand this part.  How do the files end up in the
> build directory at all?

Good question - somehow they do even if the line I sent is the only one
within Makefile.am.  I'll try to investigate, but I'm no automake expert,
this didn't even strike me as weird.

Jirka




reply via email to

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