]> git.saurik.com Git - wxWidgets.git/blame_incremental - distrib/msw/tardist
Updated for new XPM files
[wxWidgets.git] / distrib / msw / tardist
... / ...
CommitLineData
1#!/bin/sh
2# tardist: make up a tar.gz distribution of wxWindows 2
3# Supply a source (e.g. ~/wx2) and destination (e.g. ~/wx2/deliver)
4
5init=""
6if [ $1 = "" ]
7then
8 exit
9fi
10
11if [ $2 = "" ]
12then
13 exit
14fi
15
16echo About to archive wxWindows:
17echo From $1
18echo To $2
19echo CTRL-C if this is not correct.
20read dummy
21
22cd $1
23
24echo Removing backup files...
25rm *~ */*~ */*/*~ */*/*/*~ */*/*/*/*~
26
27rm -f $2/wx200*.tgz
28rm -f $2/tex2rtf2.tgz
29rm -f $2/ogl3.tgz
30rm -f $2/treedraw.tar.gz
31rm -f $2/glcanvas.tar.gz
32rm -f $2/jpeg.tgz
33
34echo Tarring...
35
36### Generic
37ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/makefile.rsp` > /tmp/wxgen.txt
38tar cvf $2/wx200gen.tar -T /tmp/wxgen.txt
39gzip $2/wx200gen.tar
40mv $2/wx200gen.tar.gz $2/wx200gen.tgz
41
42### wxGTK
43ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/gtk.rsp $1/distrib/msw/makefile.rsp` > /tmp/wxgtk.txt
44tar cvf $2/wx200gtk.tar -T /tmp/wxgtk.txt
45gzip $2/wx200gtk.tar
46mv $2/wx200gtk.tar.gz $2/wx200gtk.tgz
47
48### wxMotif
49ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/motif.rsp $1/distrib/msw/makefile.rsp` > /tmp/wxmotif.txt
50tar cvf $2/wx200mot.tar -T /tmp/wxmotif.txt
51gzip $2/wx200mot.tar
52mv $2/wx200mot.tar.gz $2/wx200mot.tgz
53
54### Doc sources
55ls `cat $1/distrib/msw/docsrc.rsp` > /tmp/docsrc.txt
56tar cvf $2/wx200doc.tar -T /tmp/docsrc.txt
57gzip $2/wx200doc.tar
58mv $2/wx200doc.tar.gz $2/wx200doc.tgz
59
60### HTML docs
61ls `cat $1/distrib/msw/wx_html.rsp` > /tmp/html.txt
62tar cvf $2/wx200htm.tar -T /tmp/html.txt
63gzip $2/wx200htm.tar
64mv $2/wx200htm.tar.gz $2/wx200htm.tgz
65
66### PDF docs
67ls `cat $1/distrib/msw/wx_pdf.rsp` > /tmp/pdf.txt
68tar cvf $2/wx200pdf.tar -T /tmp/pdf.txt
69gzip $2/wx200pdf.tar
70mv $2/wx200pdf.tar.gz $2/wx200pdf.tgz
71
72### Stubs files
73ls `cat $1/distrib/msw/stubs.rsp` > /tmp/stubs.txt
74tar cvf $2/wx200stubs.tar -T /tmp/stubs.txt
75gzip $2/wx200stubs.tar
76mv $2/wx200stubs.tar.gz $2/wx200stubs.tgz
77
78### Tex2RTF
79ls `cat $1/distrib/msw/tex2rtf.rsp` > /tmp/tex2rtf.txt
80tar cvf $2/tex2rtf2.tar -T /tmp/tex2rtf.txt
81gzip $2/tex2rtf2.tar
82mv $2/tex2rtf2.tar.gz $2/tex2rtf2.tgz
83
84### OGL
85ls `cat $1/distrib/msw/ogl.rsp` > /tmp/ogl.txt
86tar cvf $2/ogl3.tar -T /tmp/ogl.txt
87gzip $2/ogl3.tar
88mv $2/ogl3.tar.gz $2/ogl3.tgz
89
90### wxGLCanvas
91ls `cat $1/distrib/msw/glcanvas.rsp` > /tmp/glcanvas.txt
92tar cvf $2/glcanvas.tar -T /tmp/glcanvas.txt
93gzip $2/glcanvas.tar
94mv $2/glcanvas.tar.gz $2/glcanvas.tgz
95
96### wxTreeLayout
97ls `cat $1/distrib/msw/wxtree.rsp` > /tmp/wxtree.txt
98tar cvf $2/treedraw.tar -T /tmp/wxtree.txt
99gzip $2/treedraw.tar
100mv $2/treedraw.tar.gz $2/treedraw.tgz
101
102### JPEG
103ls `cat $1/distrib/msw/jpeg.rsp` > /tmp/jpeg.txt
104tar cvf $2/jpeg.tar -T /tmp/jpeg.txt
105gzip $2/jpeg.tar
106mv $2/jpeg.tar.gz $2/jpeg.tgz
107
108echo Done!