summaryrefslogtreecommitdiffstats
path: root/repos/autotools/autotools-git/libtool/PREP_TARBALL
blob: b3dbf46db013a033af361edbc9d9cb642331b728 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash -x

test -z "$rev" && rev=origin/master

if test ! -d "upstream"; then
    git clone git://git.sv.gnu.org/libtool upstream
    pushd upstream >/dev/null
else
    pushd upstream >/dev/null
    git pull
fi

./bootstrap && {
    if test -f boostrap.new; then
        mv bootstrap.new bootstrap
    fi
} && ./configure && make dist

for i in `ls -1 *.tar.gz`; do
    mv $i ../$i
    rm -rf $i
    break
done

popd