chiark / gitweb /
Online registration now sends email. The confirmation URL doesn't
[disorder] / Makefile.am
index 6328c5ab58d3873cec2f5afe9325c2b5b2e72b7f..b8318a4109ce0cf7309383900d0c93b771141292 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@
 
-ChangeLog.d: ${srcdir}/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
 
-${srcdir}/ChangeLog.d/bzr-changelog:
-       bzr log > ${srcdir}/ChangeLog.d/bzr-changelog.new
-       mv ${srcdir}/ChangeLog.d/bzr-changelog.new ${srcdir}/ChangeLog.d/bzr-changelog
+dist-hook:
+       bzr log > ${distdir}/ChangeLog.d/bzr-changelog
 
 echo-distdir:
        @echo $(distdir)
+
+echo-version:
+       @echo $(VERSION)