blob: df9d6506ecc0d563e36b4f4ad188ef8002e33016 (
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/sh
DIST=edgy
# cleanup
echo "Cleaning up"
rm -f *~ *.bak *.pyc *.moved '#'*
sudo rm -rf backports/ profile/ result/ tarball/ *.deb
# 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 .
|