X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/71b49a3c5c2b79566e86fcfa124a780e72070dd7..012c707d5c03631b365886904089d98f3747d308:/Makefile.am?ds=sidebyside diff --git a/Makefile.am b/Makefile.am index 0b6f5a7..99d2fd2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,9 +19,22 @@ # EXTRA_DIST=TODO CHANGES README.streams BUGS ChangeLog.d \ -README.upgrades README.client README.mac README.raw +README.upgrades README.client README.mac README.raw README.vhost SUBDIRS=@subdirs@ +check-report: before-check check make-coverage-reports +before-check: + rm -f */*.gcda */*.gcov +make-coverage-reports: + @for subdir in lib plugins server clients disobedience; do \ + echo cd $$subdir;\ + cd $$subdir;\ + echo ${GCOV} *.c | ${PYTHON} ../scripts/format-gcov-report --html . *.c ;\ + ${GCOV} *.c | ${PYTHON} ../scripts/format-gcov-report --html . *.c ;\ + echo cd ..;\ + cd ..;\ + done + dist-hook: bzr log > ${distdir}/ChangeLog.d/bzr-changelog