[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master 74ab488: Check exit statuses in lib-src/Makefil
Re: [Emacs-diffs] master 74ab488: Check exit statuses in lib-src/Makefile
Thu, 22 Jan 2015 20:18:42 +0200
> Date: Thu, 22 Jan 2015 10:00:14 -0800
> From: Paul Eggert <address@hidden>
> CC: address@hidden
> On 01/22/2015 09:54 AM, Eli Zaretskii wrote:
> > Why should the "*clean*" targets fail when "rm -f" returns a non-zero
> > exit status? What are the advantages?
> 'rm -f FOO' succeeds if FOO already does not exist. So if 'rm -f FOO'
> fails, 'make clean' did not work and most likely FOO still exists, and
> the situation requires manual attention.
OK, but are we sure "rm -f FOO" behaves like described above on all
supported Posix platforms? How about OS X or some *BSD?