summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-02-12 08:55:45 -0800
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-02-12 08:55:45 -0800
commit35a63cb1e63d3487cf68f73e963b6f1e58cf45da (patch)
tree449751540666db63f80f36bcd22c29fec39bd046 /Makefile
parent78353022978140e9c8e21d37509e8137989339c6 (diff)
Don't use xargs -r since it's a GNU extensions.
Instead just ignore the result of xargs.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 457dd23..897bcbb 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ all: $(EXECUTABLE)
ifeq ($(config),coverage)
test: $(EXECUTABLE)
- @find $(BUILD) -name '*.gcda' | xargs -r rm
+ -@find $(BUILD) -name '*.gcda' | xargs 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