From 215bb2a825ab73900f9574147afc5ebacbad7e0e Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 4 Dec 2008 07:02:56 +0000 Subject: [PATCH] Call genhtml with --prefix option so local build paths don't appear in the coverage output. --- GNUmakefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile.in b/GNUmakefile.in index 74bb088010..b00fe27b36 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -70,7 +70,7 @@ coverage: coverage-html: coverage rm -rf coverage mkdir coverage - $(GENHTML) --show-details --legend --output-directory=coverage --title=PostgreSQL --num-spaces=4 `find src/backend -name lcov.info -print` + $(GENHTML) --show-details --legend --output-directory=coverage --title=PostgreSQL --num-spaces=4 --prefix=$(abs_top_srcdir)/src `find src/backend -name lcov.info -print` ifeq ($(enable_coverage),yes) clean distclean maintainer-clean: clean-coverage-local -- 2.39.5