source: trunk/bootstrap @ 1107

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

Avoid ouput from Automake --install during bootstrap. Allow output using --verbose option. Code taken from yat, http://dev.thep.lu.se/yat

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1#!/bin/sh
2
3## $Id: bootstrap 1107 2010-06-23 13:56:31Z peter $
4##
5## Run this to generate all auto-generated files needed by the GNU
6## configure program. This should be run everytime configure.ac is
7## changed.
8
9# Copyright (C) 2005, 2006 Jari Häkkinen
10# Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
11#
12# This file is part of svndigest, http://dev.thep.lu.se/svndigest
13#
14# svndigest is free software; you can redistribute it and/or modify it
15# under the terms of the GNU General Public License as published by
16# the Free Software Foundation; either version 3 of the License, or
17# (at your option) any later version.
18#
19# svndigest is distributed in the hope that it will be useful, but
20# WITHOUT ANY WARRANTY; without even the implied warranty of
21# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22# General Public License for more details.
23#
24# You should have received a copy of the GNU General Public License
25# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
26
27# Run this to generate all auto-generated files needed by the GNU
28# configure program.
29
30me=bootstrap
31verbose=no
32# parse options
33while test $# -gt 0; do
34    case "$1" in
35  --verbose | -v) verbose=yes;;
36  *) echo "$me: invalid option '$1'" >& 2 && exit 1;;
37    esac
38    shift;
39done
40if test "x$verbose" = "xno"; then
41    exec >& /dev/null
42fi
43cmd="autoreconf --install --symlink --force --verbose";
44echo "$me: running: $cmd";
45exec $cmd;
46
Note: See TracBrowser for help on using the repository browser.