build: ensure we do not fail clean if check-results.xml does not exist
authorStefan Schmidt <stefan@osg.samsung.com>
Fri, 4 Sep 2015 12:57:50 +0000 (14:57 +0200)
committerStefan Schmidt <stefan@osg.samsung.com>
Fri, 4 Sep 2015 12:59:08 +0000 (14:59 +0200)
If we did not run make check this file would not exist and a clean would
fail over it. Using -f ignores this case.

legacy/elementary/Makefile.am

index 3cb5d0a..dc3def2 100644 (file)
@@ -156,5 +156,5 @@ if ELEMENTARY_ENABLE_COVERAGE
 endif
 
 clean-local:
-       rm src/tests/check-results.xml
+       rm -f src/tests/check-results.xml
 endif