source: branches/0.6-stable/test/Makefile.am

Last change on this file was 731, checked in by Peter Johansson, 13 years ago

update copyright statements

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 731 2008-12-15 19:03:04Z peter $
4
5# Copyright (C) 2005, 2006, 2007 Jari Häkkinen, Peter Johansson
6# Copyright (C) 2008 Peter Johansson
7#
8# This file is part of svndigest, http://dev.thep.lu.se/svndigest
9#
10# svndigest is free software; you can redistribute it and/or modify it
11# 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# svndigest is distributed in the hope that it will be useful, but
16# WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18# 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
23# 02111-1307, USA.
24
25check_PROGRAMS = date gnuplot_pipe parser trac utility_test
26
27TESTS = $(check_PROGRAMS)
28# these tests are only for developers since we do not distribute test repository
29if WCTESTS
30TESTS += test_repo.sh check_repo_status.sh
31endif
32
33LDADD = $(STATICFLAG) @top_builddir@/lib/libsvndigest.la
34
35AM_CPPFLAGS = -I@top_srcdir@/lib
36
37date_SOURCES = date.cc
38gnuplot_pipe_SOURCES = gnuplot_pipe.cc
39parser_SOURCES = parser.cc
40trac_SOURCES = trac.cc
41utility_test_SOURCES = utility_test.cc
42
43check_repo_status.sh: check_repo_status.sh.in Makefile.am
44  @echo \#!$(SHELL) > $@;
45  @cat check_repo_status.sh.in >> $@;
46  @chmod 744 $@;
47  @echo create $@; 
48
49test_repo.sh: test_repo.sh.in Makefile.am
50  @echo \#!$(SHELL) > $@;
51  @echo srcdir=$(srcdir) >> $@;
52  @echo top_builddir=$(top_builddir) >> $@;
53  @echo targetdir=$(srcdir)/generated_output >> $@;
54  @cat test_repo.sh.in >> $@;
55  @chmod 744 $@;
56  @echo create $@; 
57
58clean-local:
59  rm -rf *.png *.tmp *~ check_repo_status.sh test_repo.sh \
60  $(srcdir)/generated_output 
61
Note: See TracBrowser for help on using the repository browser.