summaryrefslogtreecommitdiff
path: root/DistUpgrade/build-tarball.sh
blob: 9f01b87c766a14a6d0b106ec8bbfec3261c96ab9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

DIST=dapper

# cleanup
rm -f *~ *.bak *.pyc

# update po
(cd ../po; make update-po)

# copy the mo files
cp -r ../po/mo .

# make symlink
if [ ! -h $DIST ]; then
	ln -s dist-upgrade.py $DIST
fi

# create the tarball, copy links in place 
tar -c -h -z -v --exclude=$DIST.tar.gz --exclude=$0 -f $DIST.tar.gz .