summaryrefslogtreecommitdiffstats
path: root/repos/autotools/autotools-git/autoconf/PREP_TARBALL
blob: f1d18158efcbb3d07901142b613bc24d4164d130 (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/autoconf upstream
    pushd upstream >/dev/null
else
    pushd upstream >/dev/null
    git pull
fi

autoreconf -vfi && ./configure && make dist

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

popd