[vlc-commits] lcov: force correct directory prefix

Rémi Denis-Courmont git at videolan.org
Thu Jan 7 22:22:46 CET 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jan  7 23:22:26 2016 +0200| [6297968fe7efb599b9e4d1c2ca4e5c4fe8b989af] | committer: Rémi Denis-Courmont

lcov: force correct directory prefix

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6297968fe7efb599b9e4d1c2ca4e5c4fe8b989af
---

 Makefile.am |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index c853f52..f23bb01 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -999,7 +999,8 @@ lcov.out: lcov-raw.out
 
 lcov: lcov.out
 	rm -Rf lcov lcov.tmp
-	genhtml lcov.out -o lcov.tmp
+	prefix="$$(cd "$(top_srcdir)" && pwd)" ; \
+	genhtml -p "$$prefix" -o lcov.tmp lcov.out >/dev/null
 	mv lcov.tmp lcov
 
 .PHONY: lcov-raw.out



More information about the vlc-commits mailing list