Debian Codegraph @

wtools/MAKE_SOURCE_DISTRIBUTION

raw
1 #!/bin/csh
2
3 # $Id: MAKE_SOURCE_DISTRIBUTION,v 1.1 1998/12/09 15:13:30 edgrif Exp $
4
5 if ($#argv != 2) then
6 echo "usage - makeSoureDistribution <version> <destination_directory>"
7 exit 1
8 endif
9
10 if (! -e ~/tmp) mkdir ~/tmp
11 cd ~/tmp
12 mkdir tmp_acedb_src
13 cd tmp_acedb_src
14 setenv ACEDB_SRC `pwd`
15 cat > DIRECTORIES <<END
16 w1
17 w2
18 w3
19 w4
20 w5
21 w6
22 w7
23 w8
24 w9
25 wace
26 wdoc
27 wgd
28 wgf
29 wh
30 whelp
31 whooks
32 wmake
33 wrpc
34 wscripts
35 wspec
36 wstaden
37 wtools
38 END
39
40 acetree
41 /bin/rm DIRECTORIES */SCCS
42
43 chmod u+w */*
44
45 tar cf tarfile *
46 cd
47 cd $2
48 cp ~/tmp/tmp_acedb_src/tarfile source.$1.tar
49 compress source.$1.tar
50 /bin/rm -rf ~/tmp/tmp_acedb_src
51
52
53