[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MAINTAINERCLEANFILES in srcdir
From: |
Stepan Kasal |
Subject: |
Re: MAINTAINERCLEANFILES in srcdir |
Date: |
Thu, 15 Mar 2007 18:31:28 +0100 |
User-agent: |
Mutt/1.4.2.1i |
Hello Ralf,
On Thu, Mar 15, 2007 at 09:11:37AM +0100, Ralf Wildenhues wrote:
> * Stepan Kasal wrote on Wed, Mar 14, 2007 at 01:34:06PM CET:
> > -test -n "$(MAINTAINERCLEANFILES)" && \
> > rm -f $(MAINTAINERCLEANFILES) && \
> > cd $(srcdir) && rm -f $(MAINTAINERCLEANFILES)
>
> Then make it something like this, please:
>
> -test -z "$(MAINTAINERCLEANFILES)" || \
> { rm -f $(MAINTAINERCLEANFILES) && \
> cd $(srcdir) && rm -f $(MAINTAINERCLEANFILES); }
I'm not sure I understand why you ask for it.
Do you mean that we should write the command as if it were without the "-"?
Can this make any difference?
On a second thought, the two rm calls should be independent:
-test -z "$(MAINTAINERCLEANFILES)" || \
{ rm -f $(MAINTAINERCLEANFILES) ; \
cd $(srcdir) && rm -f $(MAINTAINERCLEANFILES); }
Have a nice day,
Stepan