Makefile: Split out the untested functions target
[gitweb.git] / Makefile
index e1e150df9c5ac0ab757bb52380bd7b67c025680f..11f1df2787d212bdbbd5dd2b380a71331e9e3488 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2312,6 +2312,8 @@ coverage-report:
        $(QUIET_GCOV)for dir in $(object_dirs); do \
                gcov $(GCOVFLAGS) --object-directory=$$dir $$dir*.c || exit; \
        done
+
+coverage-untested-functions: coverage-report
        grep '^function.*called 0 ' *.c.gcov \
                | sed -e 's/\([^:]*\)\.gcov: *function \([^ ]*\) called.*/\1: \2/' \
                > coverage-untested-functions