This patch uses the -f option for rm in make clean so that no error occurs when
make clean is run while no object or binary files exist. (It also adds a
newline at the end of the Makefile thanks to emacs.)
---
wmtime/wmtime/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/wmtime/wmtime/Makefile b/wmtime/wmtime/Makefile
index 85bb745..35ac1ba 100755
--- a/wmtime/wmtime/Makefile
+++ b/wmtime/wmtime/Makefile
@@ -17,9 +17,9 @@ wmtime: $(OBJS) $(XPMS)
clean::
for i in $(OBJS) ; do \
- rm $$i; \
+ rm -f $$i; \
done
- rm wmtime
+ rm -f wmtime
install:: wmtime
- install -m 755 wmtime $(DESTDIR)/usr/bin
\ No newline at end of file
+ install -m 755 wmtime $(DESTDIR)/usr/bin
--
1.9.1
--
To unsubscribe, send mail to [email protected].