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


Reply via email to