[84] | 1 | ## Process this file with automake to produce Makefile.in |
---|
| 2 | ## |
---|
| 3 | ## $Id: Makefile.am 439 2007-07-09 21:04:52Z peter $ |
---|
| 4 | |
---|
[328] | 5 | # Copyright (C) 2005, 2006, 2007 Jari Häkkinen, Peter Johansson |
---|
[6] | 6 | # |
---|
[439] | 7 | # This file is part of svndigest, http://trac.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 | |
---|
[422] | 24 | check_PROGRAMS = date gnuplot_pipe parser trac utility_test |
---|
[248] | 25 | |
---|
| 26 | TESTS = $(check_PROGRAMS) |
---|
[396] | 27 | # these tests are only for developers since we do not distribute test repository |
---|
[219] | 28 | if WCTESTS |
---|
[328] | 29 | TESTS += test_repo.sh check_repo_status.sh |
---|
[219] | 30 | endif |
---|
[8] | 31 | |
---|
[221] | 32 | LDADD = $(STATICFLAG) @top_builddir@/lib/libsvndigest.la |
---|
[8] | 33 | |
---|
[166] | 34 | AM_CPPFLAGS = -I@top_srcdir@/lib |
---|
[9] | 35 | |
---|
[396] | 36 | date_SOURCES = date.cc |
---|
[26] | 37 | gnuplot_pipe_SOURCES = gnuplot_pipe.cc |
---|
[217] | 38 | parser_SOURCES = parser.cc |
---|
[309] | 39 | trac_SOURCES = trac.cc |
---|
[422] | 40 | utility_test_SOURCES = utility_test.cc |
---|
[28] | 41 | |
---|
[328] | 42 | check_repo_status.sh: check_repo_status.sh.in Makefile.am |
---|
| 43 | @echo \#!$(SHELL) > $@; |
---|
| 44 | @cat check_repo_status.sh.in >> $@; |
---|
| 45 | @chmod 744 $@; |
---|
| 46 | @echo create $@; |
---|
| 47 | |
---|
[267] | 48 | test_repo.sh: test_repo.sh.in Makefile.am |
---|
[248] | 49 | @echo \#!$(SHELL) > $@; |
---|
| 50 | @echo srcdir=$(srcdir) >> $@; |
---|
| 51 | @echo top_builddir=$(top_builddir) >> $@; |
---|
| 52 | @echo targetdir=$(srcdir)/generated_output >> $@; |
---|
[267] | 53 | @cat test_repo.sh.in >> $@; |
---|
[248] | 54 | @chmod 744 $@; |
---|
| 55 | @echo create $@; |
---|
| 56 | |
---|
[28] | 57 | clean-local: |
---|
[329] | 58 | rm -rf *.png *.tmp *~ check_repo_status.sh test_repo.sh \ |
---|
| 59 | $(srcdir)/generated_output |
---|
[248] | 60 | |
---|