summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-11-01 08:59:49 +0100
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-11-01 08:59:49 +0100
commit97893ad738dfe3308d7e9793c301f24e6c9dc3a4 (patch)
treed3e163e82279c16f5297557e1eeda0f8d1a1f9e4 /Makefile
parent21cff3bca2055587f7a6a85a8cc7691111d43c50 (diff)
Fix first-time make config=coverage test
Not sure why xargs -r is not the default...
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d351e0f..457dd23 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ all: $(EXECUTABLE)
ifeq ($(config),coverage)
test: $(EXECUTABLE)
- @find $(BUILD) -name '*.gcda' | xargs rm
+ @find $(BUILD) -name '*.gcda' | xargs -r rm
./$(EXECUTABLE)
@gcov -b -c $(BUILD)/src/pugixml.cpp.gcda | sed -e '/./{H;$!d;}' -e 'x;/pugixml.cpp/!d;'
@ls *.gcov | grep -v pugixml.cpp.gcov | xargs rm
@@ -51,4 +51,4 @@ $(BUILD)/%.o: %
-include $(OBJECTS:.o=.d)
-.PHONY: all test clean \ No newline at end of file
+.PHONY: all test clean