source: trunk/test/Makefile.am @ 273

Last change on this file since 273 was 267, checked in by Jari Häkkinen, 15 years ago

Changing test_repo template name and addich some svn properties.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 267 2007-05-01 20:17:48Z jari $
4
5# Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson
6#
7# This file is part of svndigest, http://lev.thep.lu.se/trac/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 = gnuplot_pipe parser
25
26TESTS = $(check_PROGRAMS)
27# this test is only for developers since we do not distribute test repository
28if WCTESTS
29TESTS += test_repo.sh
30endif
31
32LDADD = $(STATICFLAG) @top_builddir@/lib/libsvndigest.la
33
34AM_CPPFLAGS = -I@top_srcdir@/lib
35
36gnuplot_pipe_SOURCES = gnuplot_pipe.cc
37parser_SOURCES = parser.cc
38
39test_repo.sh: test_repo.sh.in Makefile.am
40  @echo \#!$(SHELL) > $@;
41  @echo srcdir=$(srcdir) >> $@;
42  @echo top_builddir=$(top_builddir) >> $@;
43  @echo targetdir=$(srcdir)/generated_output >> $@;
44  @cat test_repo.sh.in >> $@;
45  @chmod 744 $@;
46  @echo create $@; 
47
48clean-local:
49  rm -rf *.png *.tmp *~ test_repo.sh $(srcdir)/generated_output;
50
Note: See TracBrowser for help on using the repository browser.