[gjs/wip/ptomato/autotools: 16/16] build: Allow rm in Makefile rules to fail
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/ptomato/autotools: 16/16] build: Allow rm in Makefile rules to fail
- Date: Tue, 27 Sep 2016 06:04:45 +0000 (UTC)
commit 745e0ea1808895514f4672b7fb92a02d1dcb81b3
Author: Philip Chimento <philip chimento gmail com>
Date: Mon Sep 26 23:00:15 2016 -0700
build: Allow rm in Makefile rules to fail
Sometimes it happens with -jN builds that a rule removes a file before
another rule can get to it. In that case we do not want Make to abort.
Makefile-test.am | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/Makefile-test.am b/Makefile-test.am
index 76e40ca..5101d37 100644
--- a/Makefile-test.am
+++ b/Makefile-test.am
@@ -137,15 +137,15 @@ lcov:
test -d lcov || mkdir lcov
$(LCOV) --compat-libtool --directory . --capture -o lcov/lcov_tmp.info
$(LCOV) --extract lcov/lcov_tmp.info "$(PWD)/*" -o lcov/lcov.info
- rm -f lcov/lcov_tmp.info
+ -rm -f lcov/lcov_tmp.info
$(GENHTML) --legend -o lcov lcov/lcov.info lcov/coverage.lcov
lcov-clean:
- find . -name '*.gcda' -delete
- rm -rf lcov
+ -find . -name '*.gcda' -delete
+ -rm -rf lcov
lcov-realclean: lcov-clean
- find . -name '*.gcno' -delete
+ -find . -name '*.gcno' -delete
clean-local: test-user-data-clean lcov-realclean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]