[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gnu Make 3.79.1 - gives errors while removing files i.e. using make
From: |
Paul Jarc |
Subject: |
Re: Gnu Make 3.79.1 - gives errors while removing files i.e. using make clean |
Date: |
Sun, 23 May 2004 10:35:19 -0400 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
yasheshb@yahoo.com (Crazy Coder) wrote:
> [yvb@localhost tmp]$ make t1
> test -e foo1 && rm foo1
> make: *** [t1] Error 1
Since the file does not exist, test exits with status 1. The shell
then exits with the same status, and make interprets that as an
error. You could use "rm -f foo1" instead to avoid this.
paul