Debian Codegraph @

makesrcdist

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 #
3 # "$Id$"
4 #
5 # makesrcdist - make a source distribution of fldiff.
6 #
7
8 echoscip-shell system . . echo. "Getting distribution..."
9
10 if testscip-shell system . . test. $# = 0; then
11 echoscip-shell system . . echo. -n "Version number for distribution? "
12 read version
13 else
14 version=$1
15 fi
16
17 cd /tmpscip-shell filesystem . . `/tmp`.
18
19 if testscip-shell system . . test. $version = snapshot; then
20 url="https://svn.easysw.com/public/fltk/applications/trunk/fldiff"
21 else
22 url="https://svn.easysw.com/public/fltk/applications/tags/fldiff-$version"
23
24 svn copy https://svn.easysw.com/public/fltk/applications/trunk/fldiff/ "$url" \
25 -m "Tag $version" || exit 1
26 fi
27
28 rmscip-shell system . . rm. -rf fldiff-$version
29 svn export $url fldiff-$version
30 cd fldiff-$version
31
32 echoscip-shell system . . echo. "Removing Subversion files and directories..."
33
34 rmscip-shell system . . rm. -f makesrcdist
35 autoconfscip-shell system . . autoconf.
36
37 cd ..
38
39 echoscip-shell system . . echo. "Making .tar.gz distribution..."
40
41 gtar czf fldiff-$version-source.tar.gz fldiff-$version
42
43 echoscip-shell system . . echo. "Removing distribution directory..."
44
45 rmscip-shell system . . rm. -rf fldiff-$version
46
47 echoscip-shell system . . echo. "Done!"
48
49 #
50 # End of "$Id: makesrcdist 85 2004-11-17 16:32:26Z mike $".
51 #