[2] | 1 | #!/bin/sh |
---|
| 2 | |
---|
[84] | 3 | ## $Id: bootstrap 1116 2010-07-03 20:15:23Z 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. |
---|
[2] | 8 | |
---|
[978] | 9 | # Copyright (C) 2005, 2006 Jari Häkkinen |
---|
| 10 | # Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson |
---|
[1116] | 11 | # Copyright (C) 2010 Peter Johansson |
---|
[84] | 12 | # |
---|
[687] | 13 | # This file is part of svndigest, http://dev.thep.lu.se/svndigest |
---|
[84] | 14 | # |
---|
[149] | 15 | # svndigest is free software; you can redistribute it and/or modify it |
---|
[84] | 16 | # under the terms of the GNU General Public License as published by |
---|
[693] | 17 | # the Free Software Foundation; either version 3 of the License, or |
---|
[84] | 18 | # (at your option) any later version. |
---|
| 19 | # |
---|
[149] | 20 | # svndigest is distributed in the hope that it will be useful, but |
---|
[84] | 21 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
[149] | 22 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
[84] | 23 | # General Public License for more details. |
---|
| 24 | # |
---|
| 25 | # You should have received a copy of the GNU General Public License |
---|
[693] | 26 | # along with svndigest. If not, see <http://www.gnu.org/licenses/>. |
---|
[2] | 27 | |
---|
[590] | 28 | # Run this to generate all auto-generated files needed by the GNU |
---|
| 29 | # configure program. |
---|
| 30 | |
---|
[1107] | 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 | if test "x$verbose" = "xno"; then |
---|
| 42 | exec >& /dev/null |
---|
| 43 | fi |
---|
| 44 | cmd="autoreconf --install --symlink --force --verbose"; |
---|
| 45 | echo "$me: running: $cmd"; |
---|
| 46 | exec $cmd; |
---|
| 47 | |
---|