Merge commit 'a862c7d3368241e72a465ab944afa38ea62a6640'
[ffmpeg.git] / Makefile
index 2cafd40..7addffb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -154,8 +154,8 @@ clean::
        $(RM) $(ALLPROGS) $(ALLPROGS_G)
        $(RM) $(CLEANSUFFIXES)
        $(RM) $(CLEANSUFFIXES:%=tools/%)
-       $(RM) coverage.info
        $(RM) -r coverage-html
+       $(RM) -rf coverage.info lcov
 
 distclean::
        $(RM) $(DISTCLEANSUFFIXES)
@@ -164,15 +164,6 @@ distclean::
 config:
        $(SRC_PATH)/configure $(value FFMPEG_CONFIGURATION)
 
-# Without the sed genthml thinks "libavutil" and "./libavutil" are two different things
-coverage.info: $(wildcard *.gcda *.gcno */*.gcda */*.gcno */*/*.gcda */*/*.gcno)
-       $(Q)lcov -c -d . -b . | sed -e 's#/./#/#g' > $@
-
-coverage-html: coverage.info
-       $(Q)mkdir -p $@
-       $(Q)genhtml -o $@ $<
-       $(Q)touch $@
-
 check: all alltools examples testprogs fate
 
 include $(SRC_PATH)/doc/Makefile