X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/eb525fcd474c7c30e98e0764698a6fac33eb10ce..bcc46dc3615c18393955f433fbf83e1820d716e6:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 13f7727..83df2ba 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ # # This file is part of DisOrder. -# Copyright (C) 2004, 2005, 2006, 2007 Richard Kettlewell +# Copyright (C) 2004-2008 Richard Kettlewell # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,12 +18,26 @@ # USA # -EXTRA_DIST=TODO CHANGES README.streams BUGS ChangeLog.d \ -README.upgrades README.client +EXTRA_DIST=TODO CHANGES README.streams BUGS \ +README.upgrades README.client README.mac README.raw README.vhost \ +README.freebsd README.developers SUBDIRS=@subdirs@ -dist-hook: - bzr log > ${distdir}/ChangeLog.d/bzr-changelog +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 echo-distdir: @echo $(distdir) + +echo-version: + @echo $(VERSION)