changeset: 2097:a46b948966fa
user: Kris Maglione <jg_AT_suckless.org>
date: Thu Apr 19 14:53:07 2007 -0400
summary: Use 'rm -f' for make clean.
diff -r c978579264ac -r a46b948966fa mk/hdr.mk
--- a/mk/hdr.mk Wed Apr 18 16:37:21 2007 -0400
+++ b/mk/hdr.mk Thu Apr 19 14:53:07 2007 -0400
@@ -63,10 +63,10 @@ all:
rm -f ${MAN}/man1/$<
.O.clean:
- rm $< || true 2>/dev/null
- rm $*.o || true 2>/dev/null
+ rm -f $< || true 2>/dev/null
+ rm -f $*.o || true 2>/dev/null
.o.clean:
- rm $< || true 2>/dev/null
+ rm -f $< || true 2>/dev/null
printinstall:
mkdirs:
diff -r c978579264ac -r a46b948966fa mk/lib.mk
--- a/mk/lib.mk Wed Apr 18 16:37:21 2007 -0400
+++ b/mk/lib.mk Thu Apr 19 14:53:07 2007 -0400
@@ -10,7 +10,7 @@ depend: ${OBJ:=.depend}
libclean:
for i in ${LIB} ${OFILES}; do \
- rm $$i; \
+ rm -f $$i; \
done 2>/dev/null || true
printinstall:
diff -r c978579264ac -r a46b948966fa mk/many.mk
--- a/mk/many.mk Wed Apr 18 16:37:21 2007 -0400
+++ b/mk/many.mk Thu Apr 19 14:53:07 2007 -0400
@@ -12,7 +12,7 @@ printinstall:
manyclean:
for i in ${TARG:=.o} ${TARG:=.O} ${OFILES}; do \
- rm $$i; \
+ rm -f $$i; \
done 2>/dev/null || true
include ${ROOT}/mk/common.mk
diff -r c978579264ac -r a46b948966fa mk/one.mk
--- a/mk/one.mk Wed Apr 18 16:37:21 2007 -0400
+++ b/mk/one.mk Thu Apr 19 14:53:07 2007 -0400
@@ -14,7 +14,7 @@ printinstall:
oneclean:
for i in ${PROG} ${OFILES}; do \
- rm $$i; \
+ rm -f $$i; \
done 2>/dev/null || true
${OFILES}: ${HFILES}
Received on Fri Jun 01 2007 - 03:09:36 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:56:58 UTC