/ghmm-0.7.0/tests/data/Makefile.am

http://github.com/jcnossen/hmmgenefinder · Makefile · 53 lines · 17 code · 11 blank · 25 comment · 3 complexity · f607f062dd1b2de21a505f8a73008d75 MD5 · raw file

  1. # author : Achim Gaedke
  2. # filename : ghmm/tests/data/Makefile.am
  3. # created : DATE: April 2001
  4. # $Id: Makefile.am 116 2001-06-29 10:13:07Z achim $
  5. #
  6. # Copyright (C) 1998-2005 Alexander Schliep
  7. # Copyright (C) 1998-2001 ZAIK/ZPR, Universitaet zu Koeln
  8. # Copyright (C) 2002-2005 Max-Planck-Institut fuer Molekulare Genetik, Berlin
  9. #
  10. # This program is free software; you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation; either version 2 of the License, or
  13. # (at your option) any later version.
  14. #
  15. # This program is distributed in the hope that it will be useful,
  16. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. # GNU General Public License for more details.
  19. #
  20. # You should have received a copy of the GNU General Public License
  21. # along with this program; if not, write to the Free Software
  22. # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  23. #
  24. #
  25. #
  26. SUBDIRS= .
  27. MAINTAINERCLEANFILES = Makefile.in
  28. EXTRA_DIST = test.smo test10.sqd test100.sqd viterbi.sh
  29. COPYRIGHT = $(top_srcdir)/COPYRIGHT.txt
  30. dist-hook:
  31. test -z "$(AWK)" && exit 0 ;\
  32. TMPFILE="$(distdir)/tmp"; \
  33. for f in $(DISTFILES) ; do \
  34. distfile=$(distdir)/$$f ; \
  35. if grep '__copyright__ *$$' $$distfile >/dev/null ; then \
  36. mv $$distfile $$TMPFILE; \
  37. $(AWK) 'BEGIN {nr=0;while(getline < "$(COPYRIGHT)" ==1) copyright[nr++]=$$0;} /__copyright__ *$$/{sub("__copyright__.*","");for(i=0;i<nr;i++) print $$0 copyright[i];} //' \
  38. $$TMPFILE >$$distfile; \
  39. touch -m -a -r $$TMPFILE $$distfile; \
  40. fi; \
  41. done ; \
  42. rm -f $$TMPFILE