A minor Makefile patch to pre-delete any existing files

Tony Garnock-Jones tonyg at lshift.net
Tue Nov 2 14:52:09 PST 2004


An alternative to "-rm" could be "rm -f", which silently succeeds even 
if it doesn't find anything to delete.

Tony


Ken Causey wrote:
> This patch just adds a line to the get-alpha target to delete any
> existing vm.c/vm.h/little.image/big.image files before downloading new
> ones.
> 
> Ken
> 
> 
> ------------------------------------------------------------------------
> 
> --- ../slate-cvs/Makefile	2004-11-02 13:19:29.000000000 -0600
> +++ Makefile	2004-11-02 16:10:29.000000000 -0600
> @@ -33,4 +33,5 @@
>  	$(BEOSMAKE) install
>  
>  get-alpha:
> +	-rm little.image big.image vm.c vm.h
>  	wget http://slate.tunes.org/downloads/alpha/{big.image,little.image,vm.c,vm.h}




More information about the Slate mailing list