2 # tardist: make up a tar.gz distribution of wxWindows 2
3 # Supply a source (e.g. ~/wx2) and destination (e.g. ~/wx2/deliver)
16 echo About to archive wxWindows
:
19 echo CTRL
-C if this is not correct.
24 echo Removing backup files...
25 rm *~
*/*~
*/*/*~
*/*/*/*~
*/*/*/*/*~
30 rm -f $2/treedraw.
tar.gz
31 rm -f $2/glcanvas.
tar.gz
36 ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/makefile.rsp` > /tmp
/wxgen.txt
37 tar cvf
$2/wx200gen.
tar -T /tmp
/wxgen.txt
39 mv $2/wx200gen.
tar.gz
$2/wx200gen.tgz
42 ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/gtk.rsp $1/distrib/msw/makefile.rsp` > /tmp
/wxgtk.txt
43 tar cvf
$2/wx200gtk.
tar -T /tmp
/wxgtk.txt
45 mv $2/wx200gtk.
tar.gz
$2/wx200gtk.tgz
48 ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/motif.rsp $1/distrib/msw/makefile.rsp` > /tmp
/wxmotif.txt
49 tar cvf
$2/wx200mot.
tar -T /tmp
/wxmotif.txt
51 mv $2/wx200mot.
tar.gz
$2/wx200mot.tgz
54 ls `cat $1/distrib/msw/docsrc.rsp` > /tmp
/docsrc.txt
55 tar cvf
$2/wx200doc.
tar -T /tmp
/docsrc.txt
57 mv $2/wx200doc.
tar.gz
$2/wx200doc.tgz
60 ls `cat $1/distrib/msw/wx_html.rsp` > /tmp
/html.txt
61 tar cvf
$2/wx200htm.
tar -T /tmp
/html.txt
63 mv $2/wx200htm.
tar.gz
$2/wx200htm.tgz
66 ls `cat $1/distrib/msw/wx_pdf.rsp` > /tmp
/pdf.txt
67 tar cvf
$2/wx200pdf.
tar -T /tmp
/pdf.txt
69 mv $2/wx200pdf.
tar.gz
$2/wx200pdf.tgz
72 ls `cat $1/distrib/msw/stubs.rsp` > /tmp
/stubs.txt
73 tar cvf
$2/wx200stubs.
tar -T /tmp
/stubs.txt
74 gzip $2/wx200stubs.
tar
75 mv $2/wx200stubs.
tar.gz
$2/wx200stubs.tgz
78 ls `cat $1/distrib/msw/tex2rtf.rsp` > /tmp
/tex2rtf.txt
79 tar cvf
$2/tex2rtf2.
tar -T /tmp
/tex2rtf.txt
81 mv $2/tex2rtf2.
tar.gz
$2/tex2rtf2.tgz
84 ls `cat $1/distrib/msw/ogl.rsp` > /tmp
/ogl.txt
85 tar cvf
$2/ogl3.
tar -T /tmp
/ogl.txt
87 mv $2/ogl3.
tar.gz
$2/ogl3.tgz
90 ls `cat $1/distrib/msw/glcanvas.rsp` > /tmp
/glcanvas.txt
91 tar cvf
$2/glcanvas.
tar -T /tmp
/glcanvas.txt
93 mv $2/glcanvas.
tar.gz
$2/glcanvas.tgz
96 ls `cat $1/distrib/msw/wxtree.rsp` > /tmp
/wxtree.txt
97 tar cvf
$2/treedraw.
tar -T /tmp
/wxtree.txt
99 mv $2/treedraw.
tar.gz
$2/treedraw.tgz