/ghmm-0.7.0/tests/data/Makefile.am
Makefile | 53 lines | 17 code | 11 blank | 25 comment | 3 complexity | f607f062dd1b2de21a505f8a73008d75 MD5 | raw file
Possible License(s): GPL-2.0
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 27SUBDIRS= . 28MAINTAINERCLEANFILES = Makefile.in 29EXTRA_DIST = test.smo test10.sqd test100.sqd viterbi.sh 30 31COPYRIGHT = $(top_srcdir)/COPYRIGHT.txt 32 33dist-hook: 34 test -z "$(AWK)" && exit 0 ;\ 35 TMPFILE="$(distdir)/tmp"; \ 36 for f in $(DISTFILES) ; do \ 37 distfile=$(distdir)/$$f ; \ 38 if grep '__copyright__ *$$' $$distfile >/dev/null ; then \ 39 mv $$distfile $$TMPFILE; \ 40 $(AWK) 'BEGIN {nr=0;while(getline < "$(COPYRIGHT)" ==1) copyright[nr++]=$$0;} /__copyright__ *$$/{sub("__copyright__.*","");for(i=0;i<nr;i++) print $$0 copyright[i];} //' \ 41 $$TMPFILE >$$distfile; \ 42 touch -m -a -r $$TMPFILE $$distfile; \ 43 fi; \ 44 done ; \ 45 rm -f $$TMPFILE 46 47 48 49 50 51 52 53