source: trunk/test/Makefile.am @ 519

Last change on this file since 519 was 519, checked in by Jari Häkkinen, 13 years ago

trac moved to new location.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 519 2007-12-23 20:14:50Z jari $
4
5# Copyright (C) 2005, 2006, 2007 Jari Häkkinen, Peter Johansson
6#
7# This file is part of svndigest, http://trac.thep.lu.se/svndigest
8#
9# svndigest is free software; you can redistribute it and/or modify it
10# under the terms of the GNU General Public License as published by
11# the Free Software Foundation; either version 2 of the License, or
12# (at your option) any later version.
13#
14# svndigest is distributed in the hope that it will be useful, but
15# WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17# General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with this program; if not, write to the Free Software
21# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
22# 02111-1307, USA.
23
24check_PROGRAMS = date gnuplot_pipe parser trac utility_test
25
26TESTS = $(check_PROGRAMS)
27# these tests are only for developers since we do not distribute test repository
28if WCTESTS
29TESTS += test_repo.sh check_repo_status.sh
30endif
31
32LDADD = $(STATICFLAG) @top_builddir@/lib/libsvndigest.la
33
34AM_CPPFLAGS = -I@top_srcdir@/lib
35
36date_SOURCES = date.cc
37gnuplot_pipe_SOURCES = gnuplot_pipe.cc
38parser_SOURCES = parser.cc
39trac_SOURCES = trac.cc
40utility_test_SOURCES = utility_test.cc
41
42rootdir = $(srcdir)/toy_project
43targetdir = $(builddir)/generated_output
44do_subst = $(SED) -e 's,@srcdir,$(srcdir),g' \
45            -e 's,@top_builddir,$(top_builddir),g' \
46            -e 's,@builddir,$(builddir),g' \
47            -e 's,@MKDIR_P,$(MKDIR_P),g' \
48            -e 's,@rootdir,$(rootdir),g' \
49            -e 's,@targetdir,$(targetdir),g' \
50                  -e 's,@SHELL,$(SHELL),g'
51
52check_repo_status.sh: check_repo_status.sh.in Makefile
53  @$(do_subst) < $< > $@
54  @chmod +x $@
55  @echo create $@
56
57test_repo.sh: test_repo.sh.in Makefile
58  @$(do_subst) < $< > $@
59  @chmod +x $@
60  @echo create $@
61
62clean-local:
63  rm -rf *.png *.tmp *~ check_repo_status.sh test_repo.sh \
64  $(targetdir) 
65
Note: See TracBrowser for help on using the repository browser.