From 52755c7874cb4d69d7ba4ad073df3a6c4bb281eb Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Fri, 4 Sep 2015 14:57:50 +0200 Subject: [PATCH] build: ensure we do not fail clean if check-results.xml does not exist 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/elementary/Makefile.am b/legacy/elementary/Makefile.am index 3cb5d0ac2c..dc3def2cc8 100644 --- a/legacy/elementary/Makefile.am +++ b/legacy/elementary/Makefile.am @@ -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