[Telepathy-commits] [telepathy-glib/master] lcov.am: remove telepathy-glib-scan.c from records if it exists
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue Oct 14 03:42:31 PDT 2008
It only exists temporarily, during the gtkdoc run, so by the time the
HTML is generated, the source file has gone.
This change lets "make clean ; make lcov-check" succeed.
---
.gitignore | 1 +
tools/lcov.am | 5 ++++-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/.gitignore b/.gitignore
index 07bcb40..955febd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -50,6 +50,7 @@ examples/extensions/extensions.html
gtk-doc.make
install-sh
lcov.info
+lcov.info.tmp
lcov.html
libtool
ltmain.sh
diff --git a/tools/lcov.am b/tools/lcov.am
index 2ea2d17..97eed8f 100644
--- a/tools/lcov.am
+++ b/tools/lcov.am
@@ -3,7 +3,10 @@ lcov-reset:
lcov-report:
lcov --directory @top_srcdir@ --capture \
- --output-file @top_builddir@/lcov.info
+ --output-file @top_builddir@/lcov.info.tmp
+ lcov --directory @top_srcdir@ --output-file @top_builddir@/lcov.info \
+ --remove @top_builddir@/lcov.info.tmp telepathy-glib-scan.c
+ rm @top_builddir@/lcov.info.tmp
$(mkdir_p) @top_builddir@/lcov.html
genhtml --title telepathy-glib \
--output-directory @top_builddir@/lcov.html lcov.info
--
1.5.6.5
More information about the Telepathy-commits
mailing list