Makefile.am 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2011, 2012 Institut National de Recherche en Informatique et Automatique
  4. #
  5. # StarPU is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU Lesser General Public License as published by
  7. # the Free Software Foundation; either version 2.1 of the License, or (at
  8. # your option) any later version.
  9. #
  10. # StarPU is distributed in the hope that it will be useful, but
  11. # WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. #
  14. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  15. SUBDIRS = src tests examples
  16. EXTRA_DIST = COPYING README ChangeLog
  17. showcheck:
  18. for i in $(SUBDIRS) ; do \
  19. make -C $$i showcheck ; \
  20. done
  21. # Generate a GNU-style ChangeLog for inclusion in the tarball.
  22. # It requires network access and may be slow.
  23. gen-ChangeLog:
  24. if test "x$$CHANGELOG" = "xno"; then \
  25. echo "ChangeLog not built, per user request" >&2; \
  26. elif ! xsltproc --version > /dev/null 2>&1; then \
  27. echo "xsltproc not found, ChangeLog not generated" >&2; \
  28. elif ! test -d "$(srcdir)/.svn"; then \
  29. echo "Subversion meta-data not found, ChangeLog not generated" >&2; \
  30. elif ! svn --version > /dev/null 2>&1; then \
  31. echo "Subversion not found, ChangeLog not generated" >&2; \
  32. else \
  33. ( cd "$(srcdir)"; \
  34. svn log --xml --verbose ) | \
  35. xsltproc "$(top_srcdir)/build-aux/svn2cl.xsl" - > "ChangeLog.tmp"; \
  36. mv "ChangeLog.tmp" "$(distdir)/ChangeLog"; \
  37. fi
  38. dist-hook: gen-ChangeLog
  39. .PHONY: showcheck dist-hook gen-ChangeLog