bug-automake
[Top][All Lists]
Advanced

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

Re: MAINTAINERCLEANFILES in srcdir


From: Ralf Wildenhues
Subject: Re: MAINTAINERCLEANFILES in srcdir
Date: Thu, 15 Mar 2007 09:11:37 +0100
User-agent: Mutt/1.5.14 (2007-03-03)

Hi Stepan,

* Stepan Kasal wrote on Wed, Mar 14, 2007 at 01:34:06PM CET:
>   the target maintainer-clean contains
>       -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
[...]
> Could we perhaps change the above command to:
> 
>       -test -n "$(MAINTAINERCLEANFILES)" && \
>               rm -f $(MAINTAINERCLEANFILES) && \
>               cd $(srcdir) && rm -f $(MAINTAINERCLEANFILES)
> 
> (I'm willing to implemement this eventually.)

Then make it something like this, please:

        -test -z "$(MAINTAINERCLEANFILES)" || \
          { rm -f $(MAINTAINERCLEANFILES) && \
            cd $(srcdir) && rm -f $(MAINTAINERCLEANFILES); }

Cheers,
Ralf




reply via email to

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