]> andersk Git - test.git/blame - update
Use 2048-bit RSA keys for auto-generated certificates.
[test.git] / update
CommitLineData
1e8dea37
MG
1#!/bin/bash -e
2
3# If you want to track the status of the project in Subversion, run this script
4# instead of relying on "svn update". The script makes sure you end up with a
5# working copy of the source tree that is customized to the version of GNU
6# "autotools" that are installed on your machine.
7#
8# Alternatively, you can always remove the entire tree and check out a fresh
9# copy from Subversion.
10
11[ -x "$(type -path svn)" ] || {
12 echo "You must have the 'svn' binary to use this script." >&2
13 exit 1
14}
15[ -x "$(type -path libtoolize)" ] || {
16 echo "You must install 'libtool', if you want to track SVN." >&2
17 echo "Alternatively, delete all files and check out a clean copy" \
18 "from SVN." >&2
19 exit 1
20}
21[ -x "$(type -path autoreconf)" -a -x "$(type -path aclocal)" ] || {
22 echo "You must install the GNU 'autotools', if you want to track SVN." >&2
23 echo "Alternatively, delete all files and check out a clean copy" \
24 "from SVN" >&2
25 exit 1
26}
27
28rm -rf aclocal.m4 configure config.guess config.h config.h.in config.sub \
29 ltmain.sh m4 Makefile.in
30
31svn update
44e56d1a 32[ -z "$(svn st|grep '^C')" ] || {
2532174a
MG
33 echo "Some files could not be synchronized with the SVN repository." >&2
34 echo "You have to manually resolve the merge conflicts and rerun this " \
35 "script" >&2
36 exit 1
37}
38
1e8dea37
MG
39aclocal
40libtoolize --force --copy
41autoreconf
42./configure
This page took 0.339471 seconds and 5 git commands to generate.