mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
makefiles: ignore missing files
This commit is contained in:
parent
dee104668e
commit
37a97c8995
12
Makefile.in
12
Makefile.in
@ -205,13 +205,13 @@ $(LCOV_TRACES):
|
|||||||
|
|
||||||
ifneq ("$(GENHTML)", "")
|
ifneq ("$(GENHTML)", "")
|
||||||
lcov: $(LCOV_TRACES)
|
lcov: $(LCOV_TRACES)
|
||||||
$(RM) -r $(LCOV_REPORTS_DIR)
|
$(RM) -rf $(LCOV_REPORTS_DIR)
|
||||||
$(MKDIR_P) $(LCOV_REPORTS_DIR)
|
$(MKDIR_P) $(LCOV_REPORTS_DIR)
|
||||||
for i in $(LCOV_TRACES); do \
|
$(LCOV) --capture --directory $(top_builddir) --ignore-errors source \
|
||||||
test -s $$i -a $$(wc -w <$$i) -ge 100 && lc="$$lc $$i"; \
|
--output-file $(LCOV_REPORTS_DIR)/out.info
|
||||||
done; \
|
-test ! -s $(LCOV_REPORTS_DIR)/out.info || \
|
||||||
test -z "$$lc" || $(GENHTML) -p @abs_top_builddir@ \
|
$(GENHTML) -o $(LCOV_REPORTS_DIR) --ignore-errors source \
|
||||||
-o $(LCOV_REPORTS_DIR) $$lc
|
$(LCOV_REPORTS_DIR)/out.info
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user