source: trunk/test/Makefile.am @ 328

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

Fixes #173. 'make check' compares test and svndigest repos and complains if the repos are out of sync.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
RevLine 
[84]1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 328 2007-05-18 14:26:49Z jari $
4
[328]5# Copyright (C) 2005, 2006, 2007 Jari Häkkinen, Peter Johansson
[6]6#
[149]7# This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
[84]8#
[149]9# svndigest is free software; you can redistribute it and/or modify it
[84]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#
[149]14# svndigest is distributed in the hope that it will be useful, but
[84]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.
[8]23
[309]24check_PROGRAMS = gnuplot_pipe parser trac
[248]25
26TESTS = $(check_PROGRAMS)
27# this test is only for developers since we do not distribute test repository
[219]28if WCTESTS
[328]29TESTS += test_repo.sh check_repo_status.sh
[219]30endif
[8]31
[221]32LDADD = $(STATICFLAG) @top_builddir@/lib/libsvndigest.la
[8]33
[166]34AM_CPPFLAGS = -I@top_srcdir@/lib
[9]35
[26]36gnuplot_pipe_SOURCES = gnuplot_pipe.cc
[217]37parser_SOURCES = parser.cc
[309]38trac_SOURCES = trac.cc
[28]39
[328]40check_repo_status.sh: check_repo_status.sh.in Makefile.am
41  @echo \#!$(SHELL) > $@;
42  @cat check_repo_status.sh.in >> $@;
43  @chmod 744 $@;
44  @echo create $@; 
45
[267]46test_repo.sh: test_repo.sh.in Makefile.am
[248]47  @echo \#!$(SHELL) > $@;
48  @echo srcdir=$(srcdir) >> $@;
49  @echo top_builddir=$(top_builddir) >> $@;
50  @echo targetdir=$(srcdir)/generated_output >> $@;
[267]51  @cat test_repo.sh.in >> $@;
[248]52  @chmod 744 $@;
53  @echo create $@; 
54
[28]55clean-local:
[248]56  rm -rf *.png *.tmp *~ test_repo.sh $(srcdir)/generated_output;
57
Note: See TracBrowser for help on using the repository browser.