Hi Luiz, On Tue, Dec 17, 2013 at 8:25 AM, Luiz Augusto von Dentz <luiz.dentz@xxxxxxxxx> wrote: > diff --git a/Makefile.am b/Makefile.am > index 15cc149..337d849 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -331,5 +331,23 @@ lib/bluetooth/%.h: lib/%.h > $(AM_V_at)$(MKDIR_P) lib/bluetooth > $(AM_V_GEN)$(LN_S) -f "$(abs_top_builddir)"/$< $@ > > +if MAINTAINER_MODE > +clean-coverage: > + -find $(top_builddir) -name "*.gcda" -delete > + @lcov --directory $(top_builddir) --zerocounters > + $(RM) -r coverage You may want to remove coverage.info as well. > + > +coverage: clean-coverage check > + @lcov --compat-libtool --directory $(top_builddir) --capture \ > + --output-file $(top_builddir)/coverage.info > + $(AM_V_at)$(MKDIR_P) -p coverage MKDIR_P already includes the "-p" option, so it should be "$(AM_V_at)$(MKDIR_P) coverage" above. > + @genhtml -o coverage/ $(top_builddir)/coverage.info > + > +clean-local: clean-coverage > + -find $(top_builddir) -name "*.gcno" -delete > + $(RM) -r lib/bluetooth > + > +else > clean-local: > $(RM) -r lib/bluetooth > +endif Best Regards, -- Anderson Lizardo Instituto Nokia de Tecnologia - INdT Manaus - Brazil -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html