## Process this file with automake to produce Makefile.in ## ## $Id: Makefile.am 439 2007-07-09 21:04:52Z peter $ # Copyright (C) 2005, 2006, 2007 Jari Häkkinen, Peter Johansson # # This file is part of svndigest, http://trac.thep.lu.se/trac/svndigest # # svndigest is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # svndigest is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. check_PROGRAMS = date gnuplot_pipe parser trac utility_test TESTS = $(check_PROGRAMS) # these tests are only for developers since we do not distribute test repository if WCTESTS TESTS += test_repo.sh check_repo_status.sh endif LDADD = $(STATICFLAG) @top_builddir@/lib/libsvndigest.la AM_CPPFLAGS = -I@top_srcdir@/lib date_SOURCES = date.cc gnuplot_pipe_SOURCES = gnuplot_pipe.cc parser_SOURCES = parser.cc trac_SOURCES = trac.cc utility_test_SOURCES = utility_test.cc check_repo_status.sh: check_repo_status.sh.in Makefile.am @echo \#!$(SHELL) > $@; @cat check_repo_status.sh.in >> $@; @chmod 744 $@; @echo create $@; test_repo.sh: test_repo.sh.in Makefile.am @echo \#!$(SHELL) > $@; @echo srcdir=$(srcdir) >> $@; @echo top_builddir=$(top_builddir) >> $@; @echo targetdir=$(srcdir)/generated_output >> $@; @cat test_repo.sh.in >> $@; @chmod 744 $@; @echo create $@; clean-local: rm -rf *.png *.tmp *~ check_repo_status.sh test_repo.sh \ $(srcdir)/generated_output