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