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

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

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

./bootstrap.sh && ./configure && { make ; make dist ; }

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

popd