1 | #!/bin/sh |
---|
2 | |
---|
3 | ## $Id: bootstrap 1368 2011-06-10 02:27:10Z 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 | # Copyright (C) 2010, 2011 Peter Johansson |
---|
12 | # |
---|
13 | # This file is part of svndigest, http://dev.thep.lu.se/svndigest |
---|
14 | # |
---|
15 | # svndigest is free software; you can redistribute it and/or modify it |
---|
16 | # under the terms of the GNU General Public License as published by |
---|
17 | # the Free Software Foundation; either version 3 of the License, or |
---|
18 | # (at your option) any later version. |
---|
19 | # |
---|
20 | # svndigest is distributed in the hope that it will be useful, but |
---|
21 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
22 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
23 | # General Public License for more details. |
---|
24 | # |
---|
25 | # You should have received a copy of the GNU General Public License |
---|
26 | # along with svndigest. If not, see <http://www.gnu.org/licenses/>. |
---|
27 | |
---|
28 | # Run this to generate all auto-generated files needed by the GNU |
---|
29 | # configure program. |
---|
30 | |
---|
31 | me=bootstrap |
---|
32 | verbose=no |
---|
33 | # parse options |
---|
34 | while test $# -gt 0; do |
---|
35 | case "$1" in |
---|
36 | --verbose | -v) verbose=yes;; |
---|
37 | *) echo "$me: invalid option '$1'" >& 2 && exit 1;; |
---|
38 | esac |
---|
39 | shift; |
---|
40 | done |
---|
41 | cmd="autoreconf --install --symlink --force"; |
---|
42 | if test "x$verbose" = "xno"; then |
---|
43 | exec > /dev/null |
---|
44 | else |
---|
45 | cmd="$cmd --verbose" |
---|
46 | fi |
---|
47 | echo "$me: running: $cmd"; |
---|
48 | exec $cmd; |
---|