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 *~
*/*~
*/*/*~
*/*/*/*~
*/*/*/*/*~
28 rm -f $2/wxmotif.
tar.gz
29 rm -f $2/wxdocsrc.
tar.gz
30 rm -f $2/wxhtml.
tar.gz
32 rm -f $2/wxstubs.
tar.gz
33 rm -f $2/tex2rtf.
tar.gz
35 rm -f $2/wxtree.
tar.gz
36 rm -f $2/glcanvas.
tar.gz
41 ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/gtk.rsp` > /tmp
/wxgtk.txt
42 tar cvf
$2/wxgtk.
tar -T /tmp
/wxgtk.txt
44 mv $2/wxgtk.
tar.gz
$2/wxgtk.tgz
47 ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/motif.rsp` > /tmp
/wxmotif.txt
48 tar cvf
$2/wxmotif.
tar -T /tmp
/wxmotif.txt
50 mv $2/wxmotif.
tar.gz
$2/wxmotif.tgz
53 ls `cat $1/distrib/msw/docsrc.rsp` > /tmp
/docsrc.txt
54 tar cvf
$2/wxdocsrc.
tar -T /tmp
/docsrc.txt
56 mv $2/wxdocsrc.
tar.gz
$2/wxdocsrc.tgz
59 ls `cat $1/distrib/msw/wx_html.rsp` > /tmp
/html.txt
60 tar cvf
$2/wxhtml.
tar -T /tmp
/html.txt
62 mv $2/wxhtml.
tar.gz
$2/wxhtml.tgz
65 ls `cat $1/distrib/msw/wx_pdf.rsp` > /tmp
/pdf.txt
66 tar cvf
$2/wxpdf.
tar -T /tmp
/pdf.txt
68 mv $2/wxpdf.
tar.gz
$2/wxpdf.tgz
71 ls `cat $1/distrib/msw/stubs.rsp` > /tmp
/stubs.txt
72 tar cvf
$2/wxstubs.
tar -T /tmp
/stubs.txt
74 mv $2/wxstubs.
tar.gz
$2/wxstubs.tgz
77 ls `cat $1/distrib/msw/tex2rtf.rsp` > /tmp
/tex2rtf.txt
78 tar cvf
$2/tex2rtf.
tar -T /tmp
/tex2rtf.txt
80 mv $2/tex2rtf.
tar.gz
$2/tex2rtf.tgz
83 ls `cat $1/distrib/msw/ogl.rsp` > /tmp
/ogl.txt
84 tar cvf
$2/ogl.
tar -T /tmp
/ogl.txt
86 mv $2/ogl.
tar.gz
$2/ogl.tgz
89 ls `cat $1/distrib/msw/glcanvas.rsp` > /tmp
/glcanvas.txt
90 tar cvf
$2/glcanvas.
tar -T /tmp
/glcanvas.txt
92 mv $2/glcanvas.
tar.gz
$2/glcanvas.tgz
95 ls `cat $1/distrib/msw/wxtree.rsp` > /tmp
/wxtree.txt
96 tar cvf
$2/wxtree.
tar -T /tmp
/wxtree.txt
98 mv $2/wxtree.
tar.gz
$2/wxtree.tgz