changeset 230:4960be2c8f3e

Rogue V5: prevent error messages from 'make clean'. Using 'rm -f' will not cause an error if the file to be removed is already gone.
author John "Elwin" Edwards
date Sun, 06 Mar 2016 17:03:47 -0500
parents 696277507a2e
children 455464db5800
files rogue5/Makefile.in
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rogue5/Makefile.in	Sat Mar 05 12:10:20 2016 -0500
+++ b/rogue5/Makefile.in	Sun Mar 06 17:03:47 2016 -0500
@@ -142,8 +142,7 @@
 	$(RM) core a.exe a.out a.exe.stackdump $(PROGRAM) $(PROGRAM).exe
 	$(RM) $(PROGRAM).tar $(PROGRAM).tar.gz $(PROGRAM).zip 
 	$(RM) $(DOCS)
-	$(RM) $(DISTNAME)/*
-	-rmdir $(DISTNAME)
+	$(RM) -r $(DISTNAME)
     
 maintainer-clean:
 	$(RM) config.h