1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

makefiles: ignore missing files

This commit is contained in:
Zdenek Kabelac 2018-11-30 12:54:34 +01:00
parent 46f946145c
commit 7fb280ceac

View File

@ -165,9 +165,11 @@ ifneq ("$(GENHTML)", "")
lcov: lcov:
$(RM) -rf $(LCOV_REPORTS_DIR) $(RM) -rf $(LCOV_REPORTS_DIR)
$(MKDIR_P) $(LCOV_REPORTS_DIR) $(MKDIR_P) $(LCOV_REPORTS_DIR)
$(LCOV) --capture --directory $(top_builddir) --output-file $(LCOV_REPORTS_DIR)/out.info $(LCOV) --capture --directory $(top_builddir) --ignore-errors source \
-test !-s $(LCOV_REPORTS_DIR)/out.info || \ --output-file $(LCOV_REPORTS_DIR)/out.info
$(GENHTML) -o $(LCOV_REPORTS_DIR) --ignore-errors source $(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
endif endif