chiark / gitweb /
Shadow disorder.dev
[disorder] / Makefile.am
index 64539a9f363f74d4eda860e31eb576465680551a..87a70c080be3d1da831fb96eb352ef608d3e0927 100644 (file)
@@ -1,6 +1,6 @@
 #
 # This file is part of DisOrder.
-# Copyright (C) 2004, 2005, 2006 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
 # 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.raw README.vhost README.developers
 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
+
 echo-distdir:
        @echo $(distdir)
+
+echo-version:
+       @echo $(VERSION)