File: makesrc.sh

package info (click to toggle)
python-escript 5.6-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 144,304 kB
  • sloc: python: 592,074; cpp: 136,909; ansic: 18,675; javascript: 9,411; xml: 3,384; sh: 738; makefile: 207
file content (20 lines) | stat: -rwxr-xr-x 517 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

#Make the source tarball for debian release
#Run this from a clean checkout

SRCVERSION=`head -1 debian/changelog | tr -d '()' | tr -s '-' ' '| cut -d\  -f3`

svnversion | grep -q :
if [ $? == 0 ]
then
    echo "This does not appear to be a clean checkout."
    echo "Exiting"
    exit 1
fi
svnversion > svn_version

ls scons/*options.py > toexclude

tar -czf ../python-escript_$SRCVERSION.orig.tar.gz --exclude-vcs --exclude=debian --exclude=localdebian --exclude=toexclude --exclude-from toexclude *

rm toexclude