## Process this file with automake to produce Makefile.in ## ## $Id: Makefile.am 500 2007-10-16 21:44:33Z 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 rootdir = $(srcdir)/toy_project targetdir = $(builddir)/generated_output do_subst = $(SED) -e 's,@srcdir,$(srcdir),g' \ -e 's,@top_builddir,$(top_builddir),g' \ -e 's,@builddir,$(builddir),g' \ -e 's,@MKDIR_P,$(MKDIR_P),g' \ -e 's,@rootdir,$(rootdir),g' \ -e 's,@targetdir,$(targetdir),g' \ -e 's,@SHELL,$(SHELL),g' check_repo_status.sh: check_repo_status.sh.in Makefile @$(do_subst) < $< > $@ @chmod +x $@ @echo create $@ test_repo.sh: test_repo.sh.in Makefile @$(do_subst) < $< > $@ @chmod +x $@ @echo create $@ clean-local: rm -rf *.png *.tmp *~ check_repo_status.sh test_repo.sh \ $(targetdir)