stable-2.02 - makefiles: ignore missing files
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=37a97c8995a4f5ffb65ce6f735816835f9533a29 Commit: 37a97c8995a4f5ffb65ce6f735816835f9533a29 Parent: dee104668ea5b39518a3a220d360d4624c3f3575 Author: Zdenek Kabelac <[email protected]> AuthorDate: Fri Nov 30 12:54:34 2018 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Wed Feb 17 12:59:36 2021 +0100
makefiles: ignore missing files
--- Makefile.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
Makefile.in +6 -6
@@ -205,13 +205,13 @@ $(LCOV_TRACES): ifneq ("$(GENHTML)", "") lcov: $(LCOV_TRACES) - $(RM) -r $(LCOV_REPORTS_DIR) + $(RM) -rf $(LCOV_REPORTS_DIR) $(MKDIR_P) $(LCOV_REPORTS_DIR) - for i in $(LCOV_TRACES); do \ - test -s $$i -a $$(wc -w <$$i) -ge 100 && lc="$$lc $$i"; \ - done; \ - test -z "$$lc" || $(GENHTML) -p @abs_top_builddir@ \ - -o $(LCOV_REPORTS_DIR) $$lc + $(LCOV) --capture --directory $(top_builddir) --ignore-errors source \ + --output-file $(LCOV_REPORTS_DIR)/out.info + -test ! -s $(LCOV_REPORTS_DIR)/out.info || \ + $(GENHTML) -o $(LCOV_REPORTS_DIR) --ignore-errors source \ + $(LCOV_REPORTS_DIR)/out.info endif endif