[build] Use 'rm -rf --' instead of 'rm -rf' in clean Makefile rule.
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 9 May 2009 15:56:11 +0000 (17:56 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 9 May 2009 15:56:11 +0000 (17:56 +0200)
Signed-off-by: Matthias Bolte <matthias.bolte@googlemail.com>

Makefile
cli/Makefile
misc/Makefile
remote/Makefile

index 44c95ca..f016db8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ clean: cli-clean misc-clean remote-clean
 install: cli-install misc-install include-install remote-install
 
 docs:
-       rm -rf docs/doxygen
+       rm -rf -- docs/doxygen
        mkdir -p docs/doxygen
        doxygen
        cp doxygen.css docs/doxygen/html/doxygen.css
index 605f907..083048f 100644 (file)
@@ -29,7 +29,7 @@ LDFLAGS += -lreadline
 all: $(TARGET)
 
 clean:
-       rm -rf $(TARGET) $(OBJS) $(CLEAN_PATTERNS)
+       rm -rf -- $(TARGET) $(OBJS) $(CLEAN_PATTERNS)
 
 install: install-target-lib
 
index 3ef8b01..1a3d9a7 100644 (file)
@@ -23,7 +23,7 @@ TARGET   = libvscmisc.so
 all: $(TARGET)
 
 clean:
-       rm -rf $(TARGET) $(OBJS) $(CLEAN_PATTERNS)
+       rm -rf -- $(TARGET) $(OBJS) $(CLEAN_PATTERNS)
 
 install: install-target-lib
 
index cbf0591..0589fda 100644 (file)
@@ -26,7 +26,7 @@ CFLAGS  += -I ../include
 all: $(TARGET)
 
 clean:
-       rm -rf $(TARGET) $(OBJS) $(CLEAN_PATTERNS)
+       rm -rf -- $(TARGET) $(OBJS) $(CLEAN_PATTERNS)
 
 install: install-target-lib