#
# 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 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
+
echo-distdir:
@echo $(distdir)
+
+echo-version:
+ @echo $(VERSION)