chiark / gitweb /
more thorough kvp.c testing
[disorder] / Makefile.am
index 401a14c5339b5593069150cb2ed50ce3e2f7ecc8..bba9048c910358385e77d8e50b05513bd2a47d77 100644 (file)
@@ -1,6 +1,6 @@
 #
 # This file is part of DisOrder.
-# Copyright (C) 2004, 2005, 2006 Richard Kettlewell
+# Copyright (C) 2004, 2005, 2006, 2007 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
 #
 
 EXTRA_DIST=TODO CHANGES README.streams BUGS ChangeLog.d        \
-README.upgrades README.client
+README.upgrades README.client README.mac README.raw
 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 . ;\
+         ${GCOV} *.c | ${PYTHON} ../scripts/format-gcov-report --html . ;\
+         echo cd ..;\
+         cd ..;\
+       done
+
+dist-hook:
+       bzr log > ${distdir}/ChangeLog.d/bzr-changelog
+
 echo-distdir:
        @echo $(distdir)
-# arch-tag:7e0566bae866a64c2f998d4253581ce0
+
+echo-version:
+       @echo $(VERSION)