source: trunk/test/readme_test.sh @ 1299

Last change on this file since 1299 was 1299, checked in by Peter Johansson, 11 years ago

updated docs regarding required automake version when building from svn wc (and addded test to avoid future divergence

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1#!/bin/sh
2# $Id: readme_test.sh 1299 2010-11-14 21:19:09Z peter $
3#
4# Copyright (C) 2010 Peter Johansson
5#
6# This file is part of svndigest, http://dev.thep.lu.se/svndigest
7#
8# svndigest is free software; you can redistribute it and/or modify it
9# under the terms of the GNU General Public License as published by
10# the Free Software Foundation; either version 3 of the License, or
11# (at your option) any later version.
12#
13# svndigest is distributed in the hope that it will be useful, but
14# WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16# General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
20
21required=""
22
23. ./init.sh || exit 1
24set -e
25
26required_automake=1.11
27$GREP "AM_INIT_AUTOMAKE.*$required_automake" $abs_top_srcdir/configure.ac \
28|| exit_fail
29$GREP "Automake $required_automake" $abs_top_srcdir/README.developer || exit_fail
30
31required_autoconf=2.63
32$GREP "AC_PREREQ.*$required_autoconf" $abs_top_srcdir/configure.ac || exit_fail
33$GREP "Autoconf $required_autoconf" $abs_top_srcdir/README.developer || exit_fail
34
35exit_success
Note: See TracBrowser for help on using the repository browser.