]>
Commit | Line | Data |
---|---|---|
ca58c9bb VS |
1 | # |
2 | # "make dist" target implementation: | |
ca58c9bb VS |
3 | # |
4 | ||
5 | ||
6 | ############################# Dirs ################################# | |
7 | ||
53375f8e | 8 | WXDIR = $(top_srcdir) |
ca58c9bb VS |
9 | |
10 | # Subordinate library possibilities | |
11 | ||
12 | SRCDIR = $(WXDIR)/src | |
13 | GENDIR = $(WXDIR)/src/generic | |
14 | COMMDIR = $(WXDIR)/src/common | |
15 | HTMLDIR = $(WXDIR)/src/html | |
5d7836c4 | 16 | RICHTEXTDIR = $(WXDIR)/src/richtext |
834cc67c | 17 | AUIDIR = $(WXDIR)/src/aui |
54429bb3 | 18 | STCDIR = $(WXDIR)/src/stc |
ca58c9bb VS |
19 | UNIXDIR = $(WXDIR)/src/unix |
20 | PNGDIR = $(WXDIR)/src/png | |
21 | JPEGDIR = $(WXDIR)/src/jpeg | |
22 | TIFFDIR = $(WXDIR)/src/tiff | |
23 | ZLIBDIR = $(WXDIR)/src/zlib | |
24 | REGEXDIR = $(WXDIR)/src/regex | |
356583d4 | 25 | EXPATDIR = $(WXDIR)/src/expat |
ca58c9bb | 26 | GTKDIR = $(WXDIR)/src/gtk |
25a0a8f4 | 27 | GTK1DIR = $(WXDIR)/src/gtk1 |
ca58c9bb VS |
28 | X11DIR = $(WXDIR)/src/x11 |
29 | X11INC = $(WXDIR)/include/wx/x11 | |
30 | MGLDIR = $(WXDIR)/src/mgl | |
31 | MOTIFDIR = $(WXDIR)/src/motif | |
2b5e2b58 | 32 | MSDOSDIR = $(WXDIR)/src/msdos |
ca58c9bb VS |
33 | MSWDIR = $(WXDIR)/src/msw |
34 | PMDIR = $(WXDIR)/src/os2 | |
7c748f5e | 35 | MACDIR = $(WXDIR)/src/osx |
ca58c9bb | 36 | COCOADIR = $(WXDIR)/src/cocoa |
ca58c9bb VS |
37 | FTDIR = $(WXDIR)/src/freetype |
38 | INCDIR = $(WXDIR)/include | |
39 | SAMPDIR = $(WXDIR)/samples | |
40 | DEMODIR = $(WXDIR)/demos | |
41 | UTILSDIR = $(WXDIR)/utils | |
42 | MISCDIR = $(WXDIR)/misc | |
43 | ||
44 | DOCDIR = $(WXDIR)/docs | |
45 | INTLDIR = $(WXDIR)/locale | |
46 | ||
47 | TOOLKITDIR = $(TOOLKIT_LOWERCASE) | |
48 | ||
49 | ########################## Archive name ############################### | |
50 | ||
51 | # append a version suffix x.y.z to all file names | |
52 | WXARCHIVE=@DISTDIR@-$(WX_VERSION).tar.gz | |
53 | WXGLARCHIVE=@DISTDIR@-gl-$(WX_VERSION).tar.gz | |
54 | WXSAMPLES=wx$(TOOLKIT)-samples-$(WX_VERSION).tar.gz | |
55 | WXDEMOS=wx$(TOOLKIT)-demos-$(WX_VERSION).tar.gz | |
56 | WXARCHIVE_ZIP=wxMSW-$(WX_VERSION).zip | |
57 | ||
58 | WXARCHIVE_BZIP=@DISTDIR@-$(WX_VERSION).tar.bz2 | |
59 | WXGLARCHIVE_BZIP=@DISTDIR@-gl-$(WX_VERSION).tar.bz2 | |
60 | WXSAMPLES_BZIP=wx$(TOOLKIT)-samples-$(WX_VERSION).tar.bz2 | |
61 | WXDEMOS_BZIP=wx$(TOOLKIT)-demos-$(WX_VERSION).tar.bz2 | |
62 | ||
63 | DISTDIRNAME=@DISTDIR@-$(WX_VERSION) | |
64 | DISTDIR=./_dist_dir/$(DISTDIRNAME) | |
8f70a1ea | 65 | BASEDISTDIR=./_dist_dir/wxBase-$(WX_VERSION) |
ca58c9bb | 66 | |
bcaab0f9 MW |
67 | ########################## Tools ############################### |
68 | ||
53375f8e MW |
69 | CP_PR = cp -pR |
70 | CP_P = cp -p | |
ca58c9bb VS |
71 | |
72 | ########################## make dist rules ############################### | |
73 | ||
74 | # this target should copy only the files common to really all ports (including | |
75 | # wxBase) to the dist dir | |
76 | ALL_DIST: distrib_clean | |
77 | mkdir _dist_dir | |
78 | mkdir $(DISTDIR) | |
dbeb8eac MW |
79 | $(CP_P) $(WXDIR)/configure.in $(DISTDIR) |
80 | $(CP_P) $(WXDIR)/configure $(DISTDIR) | |
81 | $(CP_P) $(WXDIR)/autoconf_inc.m4 $(DISTDIR) | |
82 | $(CP_P) $(WXDIR)/wxwin.m4 $(DISTDIR) | |
7dcea26b | 83 | $(CP_P) $(WXDIR)/acinclude.m4 $(DISTDIR) |
dbeb8eac MW |
84 | $(CP_P) $(WXDIR)/aclocal.m4 $(DISTDIR) |
85 | $(CP_P) $(WXDIR)/config.sub $(DISTDIR) | |
86 | $(CP_P) $(WXDIR)/config.guess $(DISTDIR) | |
87 | $(CP_P) $(WXDIR)/install-sh $(DISTDIR) | |
88 | $(CP_P) $(WXDIR)/mkinstalldirs $(DISTDIR) | |
89 | $(CP_P) $(WXDIR)/wx-config.in $(DISTDIR) | |
90 | $(CP_P) $(WXDIR)/wx-config-inplace.in $(DISTDIR) | |
91 | $(CP_P) $(WXDIR)/version-script.in $(DISTDIR) | |
92 | $(CP_P) $(WXDIR)/setup.h.in $(DISTDIR) | |
93 | $(CP_P) $(WXDIR)/setup.h_vms $(DISTDIR) | |
94 | $(CP_P) $(WXDIR)/descrip.mms $(DISTDIR) | |
95 | $(CP_P) $(WXDIR)/Makefile.in $(DISTDIR) | |
96 | $(CP_P) $(WXDIR)/wxBase.spec $(DISTDIR) | |
97 | $(CP_P) $(DOCDIR)/lgpl.txt $(DISTDIR)/COPYING.LIB | |
98 | $(CP_P) $(DOCDIR)/licence.txt $(DISTDIR)/LICENCE.txt | |
99 | $(CP_P) $(DOCDIR)/changes.txt $(DISTDIR)/CHANGES.txt | |
ca58c9bb | 100 | mkdir $(DISTDIR)/lib |
dbeb8eac MW |
101 | $(CP_P) $(WXDIR)/lib/vms.opt $(DISTDIR)/lib |
102 | $(CP_P) $(WXDIR)/lib/vms_gtk.opt $(DISTDIR)/lib | |
ca58c9bb VS |
103 | mkdir $(DISTDIR)/src |
104 | # temp hack for common/execcmn.cpp: it's not supported by tmake | |
105 | # yet (it's a header-like file but in src/common directory and it | |
106 | # shouldn't be distributed...) | |
107 | mkdir $(DISTDIR)/src/common | |
dbeb8eac | 108 | $(CP_P) $(SRCDIR)/common/execcmn.cpp $(DISTDIR)/src/common |
ca58c9bb | 109 | mkdir $(DISTDIR)/src/xml |
dbeb8eac | 110 | $(CP_P) $(SRCDIR)/xml/*.cpp $(DISTDIR)/src/xml |
ca58c9bb | 111 | mkdir $(DISTDIR)/src/zlib |
dbeb8eac MW |
112 | $(CP_P) $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib |
113 | $(CP_P) $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib | |
114 | $(CP_P) $(ZLIBDIR)/README $(DISTDIR)/src/zlib | |
115 | #$(CP_P) $(ZLIBDIR)/*.mms $(DISTDIR)/src/zlib | |
ca58c9bb | 116 | mkdir $(DISTDIR)/src/regex |
dbeb8eac MW |
117 | $(CP_P) $(REGEXDIR)/*.h $(DISTDIR)/src/regex |
118 | $(CP_P) $(REGEXDIR)/*.c $(DISTDIR)/src/regex | |
119 | $(CP_P) $(REGEXDIR)/COPYRIGHT $(DISTDIR)/src/regex | |
120 | $(CP_P) $(REGEXDIR)/README $(DISTDIR)/src/regex | |
dbeb8eac | 121 | $(CP_PR) $(EXPATDIR) $(DISTDIR)/src/expat |
0ffc9213 | 122 | #(cd $(DISTDIR)/src/expat ; rm -rf `find -name CVS`) |
ca58c9bb VS |
123 | # copy some files from include/ that are not installed: |
124 | mkdir $(DISTDIR)/include | |
125 | mkdir $(DISTDIR)/include/wx | |
3c49e952 | 126 | mkdir $(DISTDIR)/include/wx/private |
dbeb8eac | 127 | $(CP_P) $(INCDIR)/wx/fmappriv.h $(DISTDIR)/include/wx |
3c49e952 | 128 | $(CP_P) $(INCDIR)/wx/private/*.h $(DISTDIR)/include/wx/private |
07910a9a VS |
129 | # copy wxpresets |
130 | mkdir $(DISTDIR)/build | |
131 | mkdir $(DISTDIR)/build/bakefiles | |
132 | mkdir $(DISTDIR)/build/bakefiles/wxpresets | |
133 | mkdir $(DISTDIR)/build/bakefiles/wxpresets/presets | |
134 | mkdir $(DISTDIR)/build/bakefiles/wxpresets/sample | |
dbeb8eac MW |
135 | $(CP_P) $(WXDIR)/build/bakefiles/wxpresets/presets/*.bkl $(DISTDIR)/build/bakefiles/wxpresets/presets |
136 | $(CP_P) $(WXDIR)/build/bakefiles/wxpresets/sample/minimal* $(DISTDIR)/build/bakefiles/wxpresets/sample | |
137 | $(CP_P) $(WXDIR)/build/bakefiles/wxpresets/sample/config* $(DISTDIR)/build/bakefiles/wxpresets/sample | |
138 | $(CP_P) $(WXDIR)/build/bakefiles/wxpresets/*.txt $(DISTDIR)/build/bakefiles/wxpresets | |
43907f57 | 139 | mkdir $(DISTDIR)/build/aclocal |
dbeb8eac | 140 | $(CP_P) $(WXDIR)/build/aclocal/*.m4 $(DISTDIR)/build/aclocal |
ca58c9bb VS |
141 | |
142 | # this target is the common part of distribution script for all GUI toolkits, | |
143 | # but is not used when building wxBase distribution | |
144 | ALL_GUI_DIST: ALL_DIST | |
dbeb8eac MW |
145 | $(CP_P) $(DOCDIR)/readme.txt $(DISTDIR)/README.txt |
146 | $(CP_P) $(DOCDIR)/$(TOOLKITDIR)/install.txt $(DISTDIR)/INSTALL.txt | |
ca58c9bb | 147 | if test -f $(DOCDIR)/$(TOOLKITDIR)/changes.txt ; then \ |
dbeb8eac MW |
148 | $(CP_P) $(DOCDIR)/$(TOOLKITDIR)/changes.txt $(DISTDIR)/CHANGES-$(TOOLKIT).txt ; fi |
149 | $(CP_P) $(DOCDIR)/$(TOOLKITDIR)/readme.txt $(DISTDIR)/README-$(TOOLKIT).txt | |
ca58c9bb | 150 | if test -f $(DOCDIR)/$(TOOLKITDIR)/todo.txt ; then \ |
dbeb8eac | 151 | $(CP_P) $(DOCDIR)/$(TOOLKITDIR)/todo.txt $(DISTDIR)/TODO.txt ; fi |
ca58c9bb | 152 | mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR) |
3c49e952 VZ |
153 | if test -d $(INCDIR)/wx/$(TOOLKITDIR)/private; then \ |
154 | mkdir $(DISTDIR)/include/wx/$(TOOLKITDIR)/private && \ | |
155 | $(CP_P) $(INCDIR)/wx/$(TOOLKITDIR)/private/*.h $(DISTDIR)/include/wx/$(TOOLKITDIR)/private; \ | |
156 | fi | |
ca58c9bb VS |
157 | mkdir $(DISTDIR)/include/wx/generic |
158 | mkdir $(DISTDIR)/include/wx/html | |
5d7836c4 | 159 | mkdir $(DISTDIR)/include/wx/richtext |
834cc67c | 160 | mkdir $(DISTDIR)/include/wx/aui |
54429bb3 | 161 | mkdir $(DISTDIR)/include/wx/stc |
ca58c9bb VS |
162 | mkdir $(DISTDIR)/include/wx/protocol |
163 | mkdir $(DISTDIR)/include/wx/unix | |
164 | mkdir $(DISTDIR)/include/wx/xml | |
fdec3549 | 165 | mkdir $(DISTDIR)/include/wx/xrc |
dbeb8eac MW |
166 | -$(CP_P) $(INCDIR)/wx/*.h $(DISTDIR)/include/wx |
167 | $(CP_P) $(INCDIR)/wx/*.cpp $(DISTDIR)/include/wx | |
168 | $(CP_P) $(INCDIR)/wx/generic/*.h $(DISTDIR)/include/wx/generic | |
169 | $(CP_P) $(INCDIR)/wx/html/*.h $(DISTDIR)/include/wx/html | |
170 | $(CP_P) $(INCDIR)/wx/richtext/*.h $(DISTDIR)/include/wx/richtext | |
834cc67c | 171 | $(CP_P) $(INCDIR)/wx/aui/*.h $(DISTDIR)/include/wx/aui |
54429bb3 | 172 | $(CP_P) $(INCDIR)/wx/stc/*.h $(DISTDIR)/include/wx/stc |
dbeb8eac MW |
173 | $(CP_P) $(INCDIR)/wx/unix/*.h $(DISTDIR)/include/wx/unix |
174 | $(CP_P) $(INCDIR)/wx/xml/*.h $(DISTDIR)/include/wx/xml | |
175 | $(CP_P) $(INCDIR)/wx/xrc/*.h $(DISTDIR)/include/wx/xrc | |
176 | $(CP_P) $(INCDIR)/wx/protocol/*.h $(DISTDIR)/include/wx/protocol | |
ca58c9bb VS |
177 | mkdir $(DISTDIR)/art |
178 | mkdir $(DISTDIR)/art/gtk | |
179 | mkdir $(DISTDIR)/art/motif | |
dbeb8eac MW |
180 | $(CP_P) $(WXDIR)/art/*.xpm $(DISTDIR)/art |
181 | $(CP_P) $(WXDIR)/art/gtk/*.xpm $(DISTDIR)/art/gtk | |
182 | $(CP_P) $(WXDIR)/art/motif/*.xpm $(DISTDIR)/art/motif | |
ca58c9bb VS |
183 | mkdir $(DISTDIR)/src/generic |
184 | mkdir $(DISTDIR)/src/html | |
5d7836c4 | 185 | mkdir $(DISTDIR)/src/richtext |
834cc67c | 186 | mkdir $(DISTDIR)/src/aui |
54429bb3 | 187 | mkdir $(DISTDIR)/src/stc |
ca58c9bb VS |
188 | mkdir $(DISTDIR)/src/$(TOOLKITDIR) |
189 | mkdir $(DISTDIR)/src/png | |
190 | mkdir $(DISTDIR)/src/jpeg | |
191 | mkdir $(DISTDIR)/src/tiff | |
137faaea VZ |
192 | mkdir $(DISTDIR)/src/tiff/config |
193 | mkdir $(DISTDIR)/src/tiff/libtiff | |
194 | mkdir $(DISTDIR)/src/tiff/m4 | |
ca58c9bb | 195 | mkdir $(DISTDIR)/src/unix |
fdec3549 | 196 | mkdir $(DISTDIR)/src/xrc |
dbeb8eac MW |
197 | $(CP_P) $(SRCDIR)/xrc/*.cpp $(DISTDIR)/src/xrc |
198 | -$(CP_P) $(COMMDIR)/*.cpp $(DISTDIR)/src/common | |
199 | $(CP_P) $(COMMDIR)/*.c $(DISTDIR)/src/common | |
200 | $(CP_P) $(COMMDIR)/*.inc $(DISTDIR)/src/common | |
201 | $(CP_P) $(COMMDIR)/*.mms $(DISTDIR)/src/common | |
202 | $(CP_P) $(UNIXDIR)/*.cpp $(DISTDIR)/src/unix | |
203 | $(CP_P) $(UNIXDIR)/*.mms $(DISTDIR)/src/unix | |
204 | $(CP_P) $(GENDIR)/*.cpp $(DISTDIR)/src/generic | |
205 | $(CP_P) $(GENDIR)/*.mms $(DISTDIR)/src/generic | |
206 | $(CP_P) $(HTMLDIR)/*.cpp $(DISTDIR)/src/html | |
207 | $(CP_P) $(RICHTEXTDIR)/*.cpp $(DISTDIR)/src/richtext | |
834cc67c | 208 | $(CP_P) $(AUIDIR)/*.cpp $(DISTDIR)/src/aui |
54429bb3 | 209 | $(CP_P) $(STCDIR)/*.cpp $(DISTDIR)/src/stc |
dbeb8eac MW |
210 | $(CP_P) $(PNGDIR)/*.h $(DISTDIR)/src/png |
211 | $(CP_P) $(PNGDIR)/*.c $(DISTDIR)/src/png | |
212 | $(CP_P) $(PNGDIR)/README $(DISTDIR)/src/png | |
213 | $(CP_P) $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg | |
214 | $(CP_P) $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg | |
215 | $(CP_P) $(JPEGDIR)/README $(DISTDIR)/src/jpeg | |
137faaea VZ |
216 | $(CP_P) $(TIFFDIR)/config/* $(DISTDIR)/src/tiff/config |
217 | $(CP_P) $(TIFFDIR)/libtiff/*.c $(DISTDIR)/src/tiff/libtiff | |
218 | $(CP_P) $(TIFFDIR)/libtiff/*.h $(DISTDIR)/src/tiff/libtiff | |
219 | $(CP_P) $(TIFFDIR)/m4/* $(DISTDIR)/src/tiff/m4 | |
dbeb8eac | 220 | $(CP_P) $(TIFFDIR)/README $(DISTDIR)/src/tiff |
137faaea VZ |
221 | $(CP_P) $(TIFFDIR)/VERSION $(DISTDIR)/src/tiff |
222 | $(CP_P) $(TIFFDIR)/configure* $(DISTDIR)/src/tiff | |
223 | $(CP_P) $(TIFFDIR)/aclocal.m4 $(DISTDIR)/src/tiff | |
224 | $(CP_P) $(TIFFDIR)/autogen.sh $(DISTDIR)/src/tiff | |
225 | $(CP_P) $(TIFFDIR)/Makefile* $(DISTDIR)/src/tiff | |
ca58c9bb | 226 | |
8f70a1ea | 227 | BASE_DIST: ALL_DIST INTL_DIST |
ca58c9bb | 228 | # make --disable-gui the default |
0ffc9213 | 229 | rm $(DISTDIR)/configure.in |
ca58c9bb VS |
230 | sed 's/DEFAULT_wxUSE_GUI=yes/DEFAULT_wxUSE_GUI=no/' \ |
231 | $(WXDIR)/configure.in > $(DISTDIR)/configure.in | |
0ffc9213 | 232 | rm $(DISTDIR)/configure |
ca58c9bb VS |
233 | sed 's/DEFAULT_wxUSE_GUI=yes/DEFAULT_wxUSE_GUI=no/' \ |
234 | $(WXDIR)/configure > $(DISTDIR)/configure | |
235 | chmod +x $(DISTDIR)/configure | |
236 | mkdir $(DISTDIR)/include/wx/protocol | |
237 | mkdir $(DISTDIR)/include/wx/unix | |
238 | mkdir $(DISTDIR)/include/wx/xml | |
2b5e2b58 | 239 | mkdir $(DISTDIR)/include/wx/msdos |
ca58c9bb | 240 | mkdir $(DISTDIR)/include/wx/msw |
520a495c | 241 | mkdir $(DISTDIR)/include/wx/html |
5d7836c4 | 242 | mkdir $(DISTDIR)/include/wx/richtext |
834cc67c | 243 | mkdir $(DISTDIR)/include/wx/aui |
54429bb3 | 244 | mkdir $(DISTDIR)/include/wx/stc |
7c748f5e SC |
245 | mkdir $(DISTDIR)/include/wx/osx |
246 | mkdir $(DISTDIR)/include/wx/osx/carbon | |
247 | mkdir $(DISTDIR)/include/wx/osx/core | |
a027779a MW |
248 | mkdir $(DISTDIR)/include/wx/os2 |
249 | mkdir $(DISTDIR)/include/wx/palmos | |
ca58c9bb | 250 | mkdir $(DISTDIR)/src/unix |
7c748f5e SC |
251 | mkdir $(DISTDIR)/src/osx |
252 | mkdir $(DISTDIR)/src/osx/core | |
253 | mkdir $(DISTDIR)/src/osx/carbon | |
254 | mkdir $(DISTDIR)/src/osx/carbon/morefilex | |
2b5e2b58 | 255 | mkdir $(DISTDIR)/src/msdos |
ca58c9bb | 256 | mkdir $(DISTDIR)/src/msw |
a027779a MW |
257 | mkdir $(DISTDIR)/src/os2 |
258 | mkdir $(DISTDIR)/src/palmos | |
dbeb8eac MW |
259 | $(CP_P) $(DOCDIR)/base/readme.txt $(DISTDIR)/README.txt |
260 | $(CP_P) $(WXDIR)/src/common/*.inc $(DISTDIR)/src/common | |
2f5e790c | 261 | list='$(ALL_PORTS_BASE_HEADERS)'; for p in $$list; do \ |
dbeb8eac | 262 | $(CP_P) $(WXDIR)/include/$$p $(DISTDIR)/include/$$p; \ |
ca58c9bb VS |
263 | done |
264 | list='$(ALL_BASE_SOURCES)'; for p in $$list; do \ | |
dbeb8eac | 265 | $(CP_P) $(WXDIR)/$$p $(DISTDIR)/$$p; \ |
ca58c9bb VS |
266 | done |
267 | ||
268 | mkdir $(DISTDIR)/samples | |
dbeb8eac | 269 | $(CP_P) $(SAMPDIR)/Makefile.in $(DISTDIR)/samples |
ca58c9bb VS |
270 | |
271 | mkdir $(DISTDIR)/samples/console | |
dbeb8eac MW |
272 | $(CP_P) $(SAMPDIR)/console/Makefile.in $(DISTDIR)/samples/console |
273 | $(CP_P) $(SAMPDIR)/console/makefile.unx $(DISTDIR)/samples/console | |
274 | $(CP_P) $(SAMPDIR)/console/console.cpp $(DISTDIR)/samples/console | |
275 | $(CP_P) $(SAMPDIR)/console/console.dsp $(DISTDIR)/samples/console | |
8869c3a1 | 276 | $(CP_P) $(SAMPDIR)/console/testdata.fc $(DISTDIR)/samples/console |
ca58c9bb | 277 | |
a027779a MW |
278 | mkdir $(DISTDIR)/utils |
279 | mkdir $(DISTDIR)/utils/HelpGen | |
280 | mkdir $(DISTDIR)/utils/HelpGen/src | |
dbeb8eac MW |
281 | $(CP_P) $(UTILSDIR)/HelpGen/Makefile.in $(DISTDIR)/utils/HelpGen |
282 | $(CP_P) $(UTILSDIR)/HelpGen/src/Makefile.in $(DISTDIR)/utils/HelpGen/src | |
283 | $(CP_P) $(UTILSDIR)/HelpGen/src/*.h $(DISTDIR)/utils/HelpGen/src | |
284 | $(CP_P) $(UTILSDIR)/HelpGen/src/*.cpp $(DISTDIR)/utils/HelpGen/src | |
a027779a MW |
285 | |
286 | mkdir $(DISTDIR)/utils/tex2rtf | |
287 | mkdir $(DISTDIR)/utils/tex2rtf/src | |
dbeb8eac MW |
288 | $(CP_P) $(UTILSDIR)/tex2rtf/*.in $(DISTDIR)/utils/tex2rtf |
289 | $(CP_P) $(UTILSDIR)/tex2rtf/src/*.h $(DISTDIR)/utils/tex2rtf/src | |
290 | $(CP_P) $(UTILSDIR)/tex2rtf/src/*.in $(DISTDIR)/utils/tex2rtf/src | |
291 | $(CP_P) $(UTILSDIR)/tex2rtf/src/*.cpp $(DISTDIR)/utils/tex2rtf/src | |
8869c3a1 MW |
292 | $(CP_P) $(UTILSDIR)/tex2rtf/src/tex2rtf.ico $(DISTDIR)/utils/tex2rtf/src |
293 | $(CP_P) $(UTILSDIR)/tex2rtf/src/tex2rtf.ini $(DISTDIR)/utils/tex2rtf/src | |
dbeb8eac MW |
294 | $(CP_P) $(UTILSDIR)/tex2rtf/src/tex2rtf.rc $(DISTDIR)/utils/tex2rtf/src |
295 | $(CP_P) $(UTILSDIR)/tex2rtf/src/tex2rtf.xpm $(DISTDIR)/utils/tex2rtf/src | |
a027779a | 296 | |
8f70a1ea VZ |
297 | mv $(DISTDIR) $(BASEDISTDIR) |
298 | ||
4d56c20d | 299 | GTK_DIST: UNIV_DIST |
dbeb8eac MW |
300 | $(CP_P) $(WXDIR)/wxGTK.spec $(DISTDIR) |
301 | $(CP_P) $(INCDIR)/wx/gtk/*.h $(DISTDIR)/include/wx/gtk | |
302 | $(CP_P) $(GTKDIR)/*.h $(DISTDIR)/src/gtk | |
303 | $(CP_P) $(GTKDIR)/*.cpp $(DISTDIR)/src/gtk | |
304 | $(CP_P) $(GTKDIR)/*.c $(DISTDIR)/src/gtk | |
305 | $(CP_P) $(GTKDIR)/*.xbm $(DISTDIR)/src/gtk | |
306 | $(CP_P) $(GTKDIR)/*.mms $(DISTDIR)/src/gtk | |
25a0a8f4 MW |
307 | mkdir $(DISTDIR)/include/wx/gtk1 |
308 | $(CP_P) $(INCDIR)/wx/gtk1/*.h $(DISTDIR)/include/wx/gtk1 | |
309 | mkdir $(DISTDIR)/src/gtk1 | |
310 | $(CP_P) $(GTK1DIR)/*.h $(DISTDIR)/src/gtk1 | |
311 | $(CP_P) $(GTK1DIR)/*.cpp $(DISTDIR)/src/gtk1 | |
312 | $(CP_P) $(GTK1DIR)/*.c $(DISTDIR)/src/gtk1 | |
313 | $(CP_P) $(GTK1DIR)/*.xbm $(DISTDIR)/src/gtk1 | |
314 | $(CP_P) $(GTK1DIR)/*.mms $(DISTDIR)/src/gtk1 | |
17a7bf57 RL |
315 | |
316 | mkdir $(DISTDIR)/include/wx/gtk/gnome | |
317 | mkdir $(DISTDIR)/src/gtk/gnome | |
dbeb8eac MW |
318 | $(CP_P) $(INCDIR)/wx/gtk/gnome/*.h $(DISTDIR)/include/wx/gtk/gnome |
319 | $(CP_P) $(GTKDIR)/gnome/*.cpp $(DISTDIR)/src/gtk/gnome | |
17a7bf57 | 320 | |
7c748f5e SC |
321 | mkdir $(DISTDIR)/src/osx |
322 | mkdir $(DISTDIR)/src/osx/core | |
323 | $(CP_P) $(WXDIR)/src/osx/core/*.cpp $(DISTDIR)/src/osx/core | |
324 | mkdir $(DISTDIR)/include/wx/osx | |
325 | mkdir $(DISTDIR)/include/wx/osx/core | |
326 | $(CP_P) $(WXDIR)/include/wx/osx/core/*.h $(DISTDIR)/include/wx/osx/core | |
0ccf84a6 | 327 | |
4d56c20d | 328 | X11_DIST: UNIV_DIST |
dbeb8eac MW |
329 | $(CP_P) $(WXDIR)/wxX11.spec $(DISTDIR) |
330 | $(CP_P) $(INCDIR)/wx/x11/*.h $(DISTDIR)/include/wx/x11 | |
3c49e952 VZ |
331 | mkdir $(DISTDIR)/include/wx/gtk/private |
332 | $(CP_P) $(INCDIR)/wx/gtk/private/string.h $(DISTDIR)/include/wx/gtk/private | |
dbeb8eac MW |
333 | $(CP_P) $(X11DIR)/*.cpp $(DISTDIR)/src/x11 |
334 | $(CP_P) $(X11DIR)/*.c $(DISTDIR)/src/x11 | |
335 | $(CP_P) $(X11DIR)/*.xbm $(DISTDIR)/src/x11 | |
7c748f5e SC |
336 | mkdir $(DISTDIR)/src/osx |
337 | mkdir $(DISTDIR)/src/osx/core | |
338 | $(CP_P) $(WXDIR)/src/osx/core/*.cpp $(DISTDIR)/src/osx/core | |
339 | mkdir $(DISTDIR)/include/wx/osx | |
340 | mkdir $(DISTDIR)/include/wx/osx/core | |
341 | $(CP_P) $(WXDIR)/include/wx/osx/core/*.h $(DISTDIR)/include/wx/osx/core | |
ca58c9bb VS |
342 | |
343 | MOTIF_DIST: ALL_GUI_DIST | |
dbeb8eac MW |
344 | $(CP_P) $(WXDIR)/wxMotif.spec $(DISTDIR) |
345 | $(CP_P) $(INCDIR)/wx/motif/*.h $(DISTDIR)/include/wx/motif | |
346 | $(CP_P) $(MOTIFDIR)/*.cpp $(DISTDIR)/src/motif | |
347 | $(CP_P) $(MOTIFDIR)/*.xbm $(DISTDIR)/src/motif | |
ca58c9bb | 348 | mkdir $(DISTDIR)/src/motif/xmcombo |
dbeb8eac MW |
349 | $(CP_P) $(MOTIFDIR)/xmcombo/*.c $(DISTDIR)/src/motif/xmcombo |
350 | $(CP_P) $(MOTIFDIR)/xmcombo/*.h $(DISTDIR)/src/motif/xmcombo | |
351 | $(CP_P) $(MOTIFDIR)/xmcombo/copying.txt $(DISTDIR)/src/motif/xmcombo | |
ca58c9bb VS |
352 | mkdir $(DISTDIR)/src/x11 |
353 | mkdir $(DISTDIR)/include/wx/x11 | |
dbeb8eac | 354 | $(CP_P) $(X11DIR)/pen.cpp $(X11DIR)/brush.cpp $(X11DIR)/utilsx.cpp \ |
97c2479c | 355 | $(X11DIR)/bitmap.cpp $(X11DIR)/glcanvas.cpp $(X11DIR)/region.cpp \ |
ca58c9bb | 356 | $(DISTDIR)/src/x11 |
dbeb8eac | 357 | $(CP_P) $(X11INC)/pen.h $(X11INC)/brush.h $(X11INC)/privx.h \ |
97c2479c | 358 | $(X11INC)/bitmap.h $(X11INC)/glcanvas.h $(X11INC)/private.h $(X11INC)/region.h \ |
ca58c9bb VS |
359 | $(DISTDIR)/include/wx/x11 |
360 | ||
361 | MACX_DIST: ALL_GUI_DIST | |
dbeb8eac | 362 | $(CP_P) $(INCDIR)/*.* $(DISTDIR)/include |
7c748f5e SC |
363 | mkdir $(DISTDIR)/include/wx/osx/carbon |
364 | mkdir $(DISTDIR)/include/wx/osx/private | |
365 | mkdir $(DISTDIR)/include/wx/osx/carbon/private | |
366 | $(CP_P) $(INCDIR)/wx/osx/*.h $(DISTDIR)/include/wx/osx | |
367 | $(CP_P) $(INCDIR)/wx/osx/carbon/*.h $(DISTDIR)/include/wx/osx/carbon | |
368 | $(CP_P) $(INCDIR)/wx/osx/carbon/private/*.h $(DISTDIR)/include/wx/osx/carbon/private | |
369 | $(CP_P) $(INCDIR)/wx/osx/private/*.h $(DISTDIR)/include/wx/osx/private | |
370 | mkdir $(DISTDIR)/include/wx/osx/core | |
371 | $(CP_P) $(INCDIR)/wx/osx/core/*.h $(DISTDIR)/include/wx/osx/core | |
372 | mkdir $(DISTDIR)/src/osx/core | |
373 | $(CP_P) $(MACDIR)/core/*.cpp $(DISTDIR)/src/osx/core | |
86983bc3 JS |
374 | mkdir $(DISTDIR)/src/html/htmlctrl |
375 | mkdir $(DISTDIR)/src/html/htmlctrl/webkit | |
dbeb8eac | 376 | $(CP_P) $(WXDIR)/src/html/htmlctrl/webkit/*.mm $(DISTDIR)/src/html/htmlctrl/webkit |
7c748f5e SC |
377 | mkdir $(DISTDIR)/src/osx/carbon |
378 | $(CP_P) $(MACDIR)/carbon/*.cpp $(DISTDIR)/src/osx/carbon | |
379 | $(CP_P) $(MACDIR)/carbon/*.mm $(DISTDIR)/src/osx/carbon | |
380 | $(CP_P) $(MACDIR)/carbon/*.icns $(DISTDIR)/src/osx/carbon | |
381 | $(CP_P) $(MACDIR)/carbon/Info.plist.in $(DISTDIR)/src/osx/carbon | |
382 | $(CP_P) $(MACDIR)/carbon/*.h $(DISTDIR)/src/osx/carbon | |
383 | $(CP_P) $(MACDIR)/carbon/*.r $(DISTDIR)/src/osx/carbon | |
384 | mkdir $(DISTDIR)/src/osx/carbon/morefile | |
385 | $(CP_P) $(MACDIR)/carbon/morefile/*.h $(DISTDIR)/src/osx/carbon/morefile | |
386 | $(CP_P) $(MACDIR)/carbon/morefile/*.c $(DISTDIR)/src/osx/carbon/morefile | |
387 | mkdir $(DISTDIR)/src/osx/carbon/morefilex | |
388 | $(CP_P) $(MACDIR)/carbon/morefilex/*.h $(DISTDIR)/src/osx/carbon/morefilex | |
389 | $(CP_P) $(MACDIR)/carbon/morefilex/*.c $(DISTDIR)/src/osx/carbon/morefilex | |
390 | $(CP_P) $(MACDIR)/carbon/morefilex/*.cpp $(DISTDIR)/src/osx/carbon/morefilex | |
ca58c9bb | 391 | |
ca58c9bb | 392 | COCOA_DIST: ALL_GUI_DIST |
4b8f856e | 393 | $(CP_P) $(INCDIR)/wx/cocoa/*.h $(DISTDIR)/include/wx/cocoa |
dbeb8eac | 394 | $(CP_P) $(COCOADIR)/*.mm $(DISTDIR)/src/cocoa |
4b8f856e MW |
395 | $(CP_P) $(COCOADIR)/*.cpp $(DISTDIR)/src/cocoa |
396 | $(CP_P) $(COCOADIR)/*.r $(DISTDIR)/src/cocoa | |
7c748f5e SC |
397 | mkdir $(DISTDIR)/include/wx/osx/core |
398 | $(CP_P) $(INCDIR)/wx/osx/core/*.h $(DISTDIR)/include/wx/osx/core | |
399 | mkdir $(DISTDIR)/src/osx/core | |
400 | $(CP_P) $(MACDIR)/core/*.cpp $(DISTDIR)/src/osx/core | |
401 | mkdir $(DISTDIR)/src/osx/carbon | |
402 | $(CP_P) $(MACDIR)/carbon/Info.plist.in $(DISTDIR)/src/osx/carbon | |
403 | $(CP_P) $(MACDIR)/carbon/wxmac.icns $(DISTDIR)/src/osx/carbon | |
ca58c9bb | 404 | |
4d56c20d | 405 | MSW_DIST: UNIV_DIST |
ca58c9bb VS |
406 | mkdir $(DISTDIR)/include/wx/msw/ole |
407 | mkdir $(DISTDIR)/include/wx/msw/wince | |
dbeb8eac MW |
408 | $(CP_P) $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw |
409 | $(CP_P) $(INCDIR)/wx/msw/*.cur $(DISTDIR)/include/wx/msw | |
410 | $(CP_P) $(INCDIR)/wx/msw/*.ico $(DISTDIR)/include/wx/msw | |
411 | $(CP_P) $(INCDIR)/wx/msw/*.bmp $(DISTDIR)/include/wx/msw | |
412 | $(CP_P) $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw | |
2bc63d3f | 413 | $(CP_P) $(INCDIR)/wx/msw/*.manifest $(DISTDIR)/include/wx/msw |
dbeb8eac MW |
414 | $(CP_P) $(INCDIR)/wx/msw/ole/*.h $(DISTDIR)/include/wx/msw/ole |
415 | $(CP_P) $(INCDIR)/wx/msw/wince/*.h $(DISTDIR)/include/wx/msw/wince | |
ca58c9bb VS |
416 | mkdir $(DISTDIR)/src/msw/ole |
417 | mkdir $(DISTDIR)/src/msw/wince | |
dbeb8eac MW |
418 | $(CP_P) $(MSWDIR)/*.cpp $(DISTDIR)/src/msw |
419 | $(CP_P) $(MSWDIR)/*.c $(DISTDIR)/src/msw | |
420 | $(CP_P) $(MSWDIR)/*.rc $(DISTDIR)/src/msw | |
421 | $(CP_P) $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole | |
ca58c9bb VS |
422 | |
423 | MSW_ZIP_TEXT_DIST: ALL_GUI_DIST | |
ca58c9bb | 424 | mkdir $(DISTDIR)/include/wx/msw |
ca58c9bb VS |
425 | mkdir $(DISTDIR)/include/wx/msw/ole |
426 | mkdir $(DISTDIR)/include/wx/msw/wince | |
dbeb8eac MW |
427 | $(CP_P) $(INCDIR)/wx/msw/*.h $(DISTDIR)/include/wx/msw |
428 | $(CP_P) $(INCDIR)/wx/msw/*.rc $(DISTDIR)/include/wx/msw | |
2bc63d3f | 429 | $(CP_P) $(INCDIR)/wx/msw/*.manifest $(DISTDIR)/include/wx/msw |
dbeb8eac MW |
430 | $(CP_P) $(INCDIR)/wx/msw/ole/*.h $(DISTDIR)/include/wx/msw/ole |
431 | $(CP_P) $(INCDIR)/wx/msw/wince/*.h $(DISTDIR)/include/wx/msw/wince | |
ca58c9bb VS |
432 | mkdir $(DISTDIR)/src/msw |
433 | mkdir $(DISTDIR)/src/msw/ole | |
434 | mkdir $(DISTDIR)/src/msw/wince | |
dbeb8eac MW |
435 | $(CP_P) $(MSWDIR)/*.cpp $(DISTDIR)/src/msw |
436 | $(CP_P) $(MSWDIR)/*.c $(DISTDIR)/src/msw | |
437 | $(CP_P) $(MSWDIR)/ole/*.cpp $(DISTDIR)/src/msw/ole | |
438 | $(CP_P) $(MSWDIR)/wince/*.* $(DISTDIR)/src/msw/wince | |
439 | $(CP_P) $(SRCDIR)/*.??? $(DISTDIR)/src | |
440 | $(CP_P) $(SRCDIR)/*.?? $(DISTDIR)/src | |
ca58c9bb VS |
441 | |
442 | UNIV_DIST: ALL_GUI_DIST | |
443 | mkdir $(DISTDIR)/include/wx/univ | |
444 | mkdir $(DISTDIR)/src/univ | |
445 | mkdir $(DISTDIR)/src/univ/themes | |
dbeb8eac MW |
446 | $(CP_P) $(INCDIR)/wx/univ/*.h $(DISTDIR)/include/wx/univ |
447 | $(CP_P) $(INCDIR)/wx/univ/setup0.h $(DISTDIR)/include/wx/univ/setup.h | |
448 | $(CP_P) $(SRCDIR)/univ/*.cpp $(DISTDIR)/src/univ | |
449 | $(CP_P) $(SRCDIR)/univ/themes/*.cpp $(DISTDIR)/src/univ/themes | |
ca58c9bb VS |
450 | |
451 | MGL_DIST: UNIV_DIST | |
dbeb8eac MW |
452 | $(CP_P) $(WXDIR)/wxMGL.spec $(DISTDIR) |
453 | $(CP_P) $(INCDIR)/wx/mgl/*.h $(DISTDIR)/include/wx/mgl | |
2b5e2b58 | 454 | mkdir $(DISTDIR)/include/wx/msdos |
dbeb8eac MW |
455 | $(CP_P) $(INCDIR)/wx/msdos/*.h $(DISTDIR)/include/wx/msdos |
456 | $(CP_P) $(SRCDIR)/mgl/make* $(DISTDIR)/src/mgl | |
457 | $(CP_P) $(SRCDIR)/mgl/*.cpp $(DISTDIR)/src/mgl | |
2b5e2b58 | 458 | mkdir $(DISTDIR)/src/msdos |
dbeb8eac | 459 | $(CP_P) $(SRCDIR)/msdos/*.cpp $(DISTDIR)/src/msdos |
ca58c9bb VS |
460 | |
461 | DEMOS_DIST: ALL_GUI_DIST | |
462 | mkdir $(DISTDIR)/demos | |
dbeb8eac | 463 | $(CP_P) $(DEMODIR)/Makefile.in $(DISTDIR)/demos |
ca58c9bb VS |
464 | |
465 | mkdir $(DISTDIR)/demos/bombs | |
dbeb8eac MW |
466 | $(CP_P) $(DEMODIR)/bombs/Makefile.in $(DISTDIR)/demos/bombs |
467 | $(CP_P) $(DEMODIR)/bombs/makefile.unx $(DISTDIR)/demos/bombs | |
468 | $(CP_P) $(DEMODIR)/bombs/*.cpp $(DISTDIR)/demos/bombs | |
469 | $(CP_P) $(DEMODIR)/bombs/*.h $(DISTDIR)/demos/bombs | |
470 | $(CP_P) $(DEMODIR)/bombs/*.xpm $(DISTDIR)/demos/bombs | |
2bc63d3f MW |
471 | $(CP_P) $(DEMODIR)/bombs/*.ico $(DISTDIR)/demos/bombs |
472 | $(CP_P) $(DEMODIR)/bombs/*.rc $(DISTDIR)/demos/bombs | |
dbeb8eac | 473 | $(CP_P) $(DEMODIR)/bombs/readme.txt $(DISTDIR)/demos/bombs |
91dea314 | 474 | |
ca58c9bb | 475 | mkdir $(DISTDIR)/demos/forty |
dbeb8eac MW |
476 | $(CP_P) $(DEMODIR)/forty/Makefile.in $(DISTDIR)/demos/forty |
477 | $(CP_P) $(DEMODIR)/forty/makefile.unx $(DISTDIR)/demos/forty | |
478 | $(CP_P) $(DEMODIR)/forty/*.h $(DISTDIR)/demos/forty | |
479 | $(CP_P) $(DEMODIR)/forty/*.cpp $(DISTDIR)/demos/forty | |
480 | $(CP_P) $(DEMODIR)/forty/*.xpm $(DISTDIR)/demos/forty | |
8869c3a1 | 481 | $(CP_P) $(DEMODIR)/forty/*.htm $(DISTDIR)/demos/forty |
2bc63d3f MW |
482 | $(CP_P) $(DEMODIR)/forty/*.ico $(DISTDIR)/demos/forty |
483 | $(CP_P) $(DEMODIR)/forty/*.rc $(DISTDIR)/demos/forty | |
484 | $(CP_P) $(DEMODIR)/forty/readme.txt $(DISTDIR)/demos/forty | |
ca58c9bb VS |
485 | |
486 | mkdir $(DISTDIR)/demos/life | |
487 | mkdir $(DISTDIR)/demos/life/bitmaps | |
dbeb8eac MW |
488 | $(CP_P) $(DEMODIR)/life/Makefile.in $(DISTDIR)/demos/life |
489 | $(CP_P) $(DEMODIR)/life/makefile.unx $(DISTDIR)/demos/life | |
490 | $(CP_P) $(DEMODIR)/life/*.cpp $(DISTDIR)/demos/life | |
491 | $(CP_P) $(DEMODIR)/life/*.h $(DISTDIR)/demos/life | |
492 | $(CP_P) $(DEMODIR)/life/*.xpm $(DISTDIR)/demos/life | |
493 | $(CP_P) $(DEMODIR)/life/*.inc $(DISTDIR)/demos/life | |
8869c3a1 | 494 | $(CP_P) $(DEMODIR)/life/*.lif $(DISTDIR)/demos/life |
2bc63d3f MW |
495 | $(CP_P) $(DEMODIR)/life/*.rc $(DISTDIR)/demos/life |
496 | $(CP_P) $(DEMODIR)/life/*.ico $(DISTDIR)/demos/life | |
dbeb8eac | 497 | $(CP_P) $(DEMODIR)/life/bitmaps/*.xpm $(DISTDIR)/demos/life/bitmaps |
2bc63d3f | 498 | $(CP_P) $(DEMODIR)/life/bitmaps/*.bmp $(DISTDIR)/demos/life/bitmaps |
ca58c9bb VS |
499 | |
500 | mkdir $(DISTDIR)/demos/poem | |
dbeb8eac MW |
501 | $(CP_P) $(DEMODIR)/poem/Makefile.in $(DISTDIR)/demos/poem |
502 | $(CP_P) $(DEMODIR)/poem/makefile.unx $(DISTDIR)/demos/poem | |
503 | $(CP_P) $(DEMODIR)/poem/*.h $(DISTDIR)/demos/poem | |
504 | $(CP_P) $(DEMODIR)/poem/*.cpp $(DISTDIR)/demos/poem | |
505 | $(CP_P) $(DEMODIR)/poem/*.xpm $(DISTDIR)/demos/poem | |
8869c3a1 MW |
506 | $(CP_P) $(DEMODIR)/poem/*.dat $(DISTDIR)/demos/poem |
507 | $(CP_P) $(DEMODIR)/poem/*.txt $(DISTDIR)/demos/poem | |
2bc63d3f MW |
508 | $(CP_P) $(DEMODIR)/poem/*.rc $(DISTDIR)/demos/poem |
509 | $(CP_P) $(DEMODIR)/poem/*.ico $(DISTDIR)/demos/poem | |
ca58c9bb VS |
510 | |
511 | mkdir $(DISTDIR)/demos/fractal | |
dbeb8eac MW |
512 | $(CP_P) $(DEMODIR)/fractal/Makefile.in $(DISTDIR)/demos/fractal |
513 | $(CP_P) $(DEMODIR)/fractal/makefile.unx $(DISTDIR)/demos/fractal | |
514 | $(CP_P) $(DEMODIR)/fractal/*.cpp $(DISTDIR)/demos/fractal | |
2bc63d3f MW |
515 | $(CP_P) $(DEMODIR)/fractal/*.rc $(DISTDIR)/demos/fractal |
516 | $(CP_P) $(DEMODIR)/fractal/*.ico $(DISTDIR)/demos/fractal | |
ca58c9bb VS |
517 | |
518 | SAMPLES_DIST: ALL_GUI_DIST | |
519 | mkdir $(DISTDIR)/samples | |
dbeb8eac MW |
520 | $(CP_P) $(SAMPDIR)/Makefile.in $(DISTDIR)/samples |
521 | $(CP_P) $(SAMPDIR)/sample.* $(DISTDIR)/samples | |
ca58c9bb | 522 | |
4b9c5d0c VZ |
523 | # copy files common to all samples in a general way |
524 | for s in `find $(SAMPDIR) $(SAMPDIR)/html $(SAMPDIR)/mobile $(SAMPDIR)/opengl \ | |
525 | -mindepth 1 -maxdepth 1 -type d -not -name CVS`; do \ | |
526 | t="$(DISTDIR)/samples/`echo $$s | sed 's@$(SAMPDIR)/@@'`"; \ | |
527 | mkdir -p $$t; \ | |
528 | $(CP_P) $$s/Makefile.in \ | |
568f139b | 529 | `find $$s -maxdepth 1 -name 'makefile.*' -o -name descrip.mms -o \ |
4b9c5d0c VZ |
530 | -name '*.cpp' -o -name '*.h' -o \ |
531 | -name '*.bmp' -o -name '*.ico' -o -name '*.png' -o \ | |
532 | -name '*.rc' -o -name '*.xpm'` $$t; \ | |
533 | i=""; \ | |
534 | if [ -d $$s/bitmaps ]; then i="bitmaps"; fi; \ | |
535 | if [ -d $$s/icons ]; then i="icons"; fi; \ | |
536 | if [ -n "$$i" ]; then \ | |
537 | mkdir $$t/$$i; \ | |
538 | cp `find $$s/$$i -name '*.bmp' -o -name '*.xpm'` $$t/$$i; \ | |
539 | fi; \ | |
540 | done | |
ca58c9bb | 541 | |
4b9c5d0c | 542 | # copy the rest, not covered by the above loop |
ded2661a WS |
543 | $(CP_P) $(SAMPDIR)/animate/hourglass.ani $(DISTDIR)/samples/hourglass.ani |
544 | $(CP_P) $(SAMPDIR)/animate/throbber.gif $(DISTDIR)/samples/animate | |
545 | ||
8869c3a1 | 546 | $(CP_P) $(SAMPDIR)/console/testdata.fc $(DISTDIR)/samples/console |
ca58c9bb | 547 | |
4b9c5d0c | 548 | $(CP_P) $(SAMPDIR)/dialogs/tips.txt $(DISTDIR)/samples/dialogs |
ca58c9bb | 549 | |
4b9c5d0c | 550 | $(CP_P) $(SAMPDIR)/dnd/d_and_d.txt $(DISTDIR)/samples/dnd |
ca58c9bb | 551 | |
ca58c9bb | 552 | mkdir $(DISTDIR)/samples/help/doc |
4b9c5d0c | 553 | $(CP_P) $(SAMPDIR)/help/*.h?? $(DISTDIR)/samples/help |
8869c3a1 MW |
554 | $(CP_P) $(SAMPDIR)/help/*.gif $(DISTDIR)/samples/help |
555 | $(CP_P) $(SAMPDIR)/help/cshelp.txt $(DISTDIR)/samples/help | |
556 | $(CP_P) $(SAMPDIR)/help/*.chm $(DISTDIR)/samples/help | |
557 | $(CP_P) $(SAMPDIR)/help/*.cnt $(DISTDIR)/samples/help | |
558 | $(CP_P) $(SAMPDIR)/help/doc.zip $(DISTDIR)/samples/help | |
dbeb8eac | 559 | $(CP_P) $(SAMPDIR)/help/doc/*.* $(DISTDIR)/samples/help/doc |
ca58c9bb | 560 | |
ca58c9bb | 561 | mkdir $(DISTDIR)/samples/html/about/data |
8869c3a1 MW |
562 | $(CP_P) $(SAMPDIR)/html/about/data/*.htm $(DISTDIR)/samples/html/about/data |
563 | $(CP_P) $(SAMPDIR)/html/about/data/*.png $(DISTDIR)/samples/html/about/data | |
ca58c9bb | 564 | mkdir $(DISTDIR)/samples/html/help/helpfiles |
dbeb8eac | 565 | $(CP_P) $(SAMPDIR)/html/help/helpfiles/*.??? $(DISTDIR)/samples/html/help/helpfiles |
8869c3a1 | 566 | $(CP_P) $(SAMPDIR)/html/helpview/*.zip $(DISTDIR)/samples/html/helpview |
8869c3a1 MW |
567 | $(CP_P) $(SAMPDIR)/html/printing/*.htm $(DISTDIR)/samples/html/printing |
568 | $(CP_P) $(SAMPDIR)/html/printing/*.gif $(DISTDIR)/samples/html/printing | |
8869c3a1 MW |
569 | $(CP_P) $(SAMPDIR)/html/test/*.gif $(DISTDIR)/samples/html/test |
570 | $(CP_P) $(SAMPDIR)/html/test/*.htm $(DISTDIR)/samples/html/test | |
571 | $(CP_P) $(SAMPDIR)/html/test/*.html $(DISTDIR)/samples/html/test | |
8869c3a1 | 572 | $(CP_P) $(SAMPDIR)/html/virtual/*.htm $(DISTDIR)/samples/html/virtual |
8869c3a1 | 573 | $(CP_P) $(SAMPDIR)/html/widget/*.htm $(DISTDIR)/samples/html/widget |
8869c3a1 MW |
574 | $(CP_P) $(SAMPDIR)/html/zip/*.htm $(DISTDIR)/samples/html/zip |
575 | $(CP_P) $(SAMPDIR)/html/zip/*.zip $(DISTDIR)/samples/html/zip | |
ca58c9bb | 576 | |
8869c3a1 MW |
577 | $(CP_P) $(SAMPDIR)/image/horse*.* $(DISTDIR)/samples/image |
578 | $(CP_P) $(SAMPDIR)/image/smile.xbm $(DISTDIR)/samples/image | |
ca58c9bb | 579 | |
4b9c5d0c | 580 | $(CP_P) $(SAMPDIR)/internat/readme.txt $(DISTDIR)/samples/internat |
16bb2e11 MW |
581 | for f in `(cd $(SAMPDIR); find internat -name '*.[mp]o' -print)`; do \ |
582 | mkdir -p $(DISTDIR)/samples/`dirname $$f`; \ | |
583 | $(CP_P) $(SAMPDIR)/$$f $(DISTDIR)/samples/$$f; \ | |
584 | done | |
ca58c9bb | 585 | |
8869c3a1 | 586 | $(CP_P) $(SAMPDIR)/joytest/*.wav $(DISTDIR)/samples/joytest |
ca58c9bb | 587 | |
8869c3a1 | 588 | $(CP_P) $(SAMPDIR)/mobile/styles/*.jpg $(DISTDIR)/samples/mobile/styles |
83dbeea9 | 589 | |
4b9c5d0c | 590 | $(CP_P) $(SAMPDIR)/opengl/penguin/trackball.c $(DISTDIR)/samples/opengl/penguin |
4b764db3 | 591 | $(CP_P) $(SAMPDIR)/opengl/penguin/*.dxf.gz $(DISTDIR)/samples/opengl/penguin |
8869c3a1 | 592 | $(CP_P) $(SAMPDIR)/opengl/isosurf/*.gz $(DISTDIR)/samples/opengl/isosurf |
ca58c9bb | 593 | |
dbeb8eac MW |
594 | $(CP_P) $(SAMPDIR)/richtext/readme.txt $(DISTDIR)/samples/richtext |
595 | $(CP_P) $(SAMPDIR)/richtext/todo.txt $(DISTDIR)/samples/richtext | |
5d7836c4 | 596 | |
8869c3a1 | 597 | $(CP_P) $(SAMPDIR)/sound/*.wav $(DISTDIR)/samples/sound |
816c1e80 | 598 | |
8869c3a1 | 599 | $(CP_P) $(SAMPDIR)/splash/*.mpg $(DISTDIR)/samples/splash |
ca58c9bb | 600 | |
7c529035 | 601 | mkdir $(DISTDIR)/samples/xrc/rc |
8869c3a1 MW |
602 | $(CP_P) $(SAMPDIR)/xrc/rc/*.xpm $(DISTDIR)/samples/xrc/rc |
603 | $(CP_P) $(SAMPDIR)/xrc/rc/*.xrc $(DISTDIR)/samples/xrc/rc | |
604 | $(CP_P) $(SAMPDIR)/xrc/rc/*.gif $(DISTDIR)/samples/xrc/rc | |
605 | $(CP_P) $(SAMPDIR)/xrc/rc/*.ico $(DISTDIR)/samples/xrc/rc | |
7c529035 | 606 | |
ca58c9bb VS |
607 | UTILS_DIST: ALL_GUI_DIST |
608 | mkdir $(DISTDIR)/utils | |
dbeb8eac | 609 | $(CP_P) $(UTILSDIR)/Makefile.in $(DISTDIR)/utils |
ca58c9bb VS |
610 | |
611 | mkdir $(DISTDIR)/utils/tex2rtf | |
612 | mkdir $(DISTDIR)/utils/tex2rtf/src | |
dbeb8eac MW |
613 | $(CP_P) $(UTILSDIR)/tex2rtf/*.in $(DISTDIR)/utils/tex2rtf |
614 | $(CP_P) $(UTILSDIR)/tex2rtf/src/*.h $(DISTDIR)/utils/tex2rtf/src | |
615 | $(CP_P) $(UTILSDIR)/tex2rtf/src/*.in $(DISTDIR)/utils/tex2rtf/src | |
616 | $(CP_P) $(UTILSDIR)/tex2rtf/src/*.cpp $(DISTDIR)/utils/tex2rtf/src | |
617 | -$(CP_P) $(UTILSDIR)/tex2rtf/src/tex2rtf.* $(DISTDIR)/utils/tex2rtf/src | |
ca58c9bb VS |
618 | |
619 | mkdir $(DISTDIR)/utils/emulator | |
620 | mkdir $(DISTDIR)/utils/emulator/src | |
621 | mkdir $(DISTDIR)/utils/emulator/docs | |
dbeb8eac MW |
622 | $(CP_P) $(UTILSDIR)/emulator/*.in $(DISTDIR)/utils/emulator |
623 | $(CP_P) $(UTILSDIR)/emulator/src/*.h $(DISTDIR)/utils/emulator/src | |
624 | $(CP_P) $(UTILSDIR)/emulator/src/*.in $(DISTDIR)/utils/emulator/src | |
625 | $(CP_P) $(UTILSDIR)/emulator/src/*.cpp $(DISTDIR)/utils/emulator/src | |
8869c3a1 MW |
626 | $(CP_P) $(UTILSDIR)/emulator/src/*.jpg $(DISTDIR)/utils/emulator/src |
627 | $(CP_P) $(UTILSDIR)/emulator/src/*.wxe $(DISTDIR)/utils/emulator/src | |
dbeb8eac MW |
628 | $(CP_P) $(UTILSDIR)/emulator/src/*.xpm $(DISTDIR)/utils/emulator/src |
629 | $(CP_P) $(UTILSDIR)/emulator/docs/*.txt $(DISTDIR)/utils/emulator/docs | |
630 | $(CP_P) $(UTILSDIR)/emulator/docs/*.jpg $(DISTDIR)/utils/emulator/docs | |
ca58c9bb | 631 | |
ca58c9bb | 632 | mkdir $(DISTDIR)/utils/hhp2cached |
dbeb8eac MW |
633 | $(CP_P) $(UTILSDIR)/hhp2cached/Makefile.in $(DISTDIR)/utils/hhp2cached |
634 | $(CP_P) $(UTILSDIR)/hhp2cached/*.cpp $(DISTDIR)/utils/hhp2cached | |
635 | $(CP_P) $(UTILSDIR)/hhp2cached/*.rc $(DISTDIR)/utils/hhp2cached | |
ca58c9bb VS |
636 | |
637 | mkdir $(DISTDIR)/utils/HelpGen | |
638 | mkdir $(DISTDIR)/utils/HelpGen/src | |
dbeb8eac MW |
639 | $(CP_P) $(UTILSDIR)/HelpGen/Makefile.in $(DISTDIR)/utils/HelpGen |
640 | $(CP_P) $(UTILSDIR)/HelpGen/src/Makefile.in $(DISTDIR)/utils/HelpGen/src | |
641 | $(CP_P) $(UTILSDIR)/HelpGen/src/*.h $(DISTDIR)/utils/HelpGen/src | |
642 | $(CP_P) $(UTILSDIR)/HelpGen/src/*.cpp $(DISTDIR)/utils/HelpGen/src | |
ca58c9bb | 643 | |
ca58c9bb VS |
644 | mkdir $(DISTDIR)/utils/helpview |
645 | mkdir $(DISTDIR)/utils/helpview/src | |
646 | mkdir $(DISTDIR)/utils/helpview/src/bitmaps | |
dbeb8eac MW |
647 | $(CP_P) $(UTILSDIR)/helpview/Makefile.in $(DISTDIR)/utils/helpview |
648 | $(CP_P) $(UTILSDIR)/helpview/src/*.h $(DISTDIR)/utils/helpview/src | |
649 | $(CP_P) $(UTILSDIR)/helpview/src/*.cpp $(DISTDIR)/utils/helpview/src | |
2bc63d3f MW |
650 | $(CP_P) $(UTILSDIR)/helpview/src/*.rc $(DISTDIR)/utils/helpview/src |
651 | $(CP_P) $(UTILSDIR)/helpview/src/*.ico $(DISTDIR)/utils/helpview/src | |
652 | $(CP_P) $(UTILSDIR)/helpview/src/readme.txt $(DISTDIR)/utils/helpview/src | |
dbeb8eac | 653 | $(CP_P) $(UTILSDIR)/helpview/src/Makefile.in $(DISTDIR)/utils/helpview/src |
8869c3a1 | 654 | $(CP_P) $(UTILSDIR)/helpview/src/test.zip $(DISTDIR)/utils/helpview/src |
dbeb8eac | 655 | $(CP_P) $(UTILSDIR)/helpview/src/bitmaps/*.xpm $(DISTDIR)/utils/helpview/src/bitmaps |
ca58c9bb | 656 | |
a13a7f89 | 657 | mkdir $(DISTDIR)/utils/wxrc |
dbeb8eac MW |
658 | $(CP_P) $(UTILSDIR)/wxrc/Makefile.in $(DISTDIR)/utils/wxrc |
659 | $(CP_P) $(UTILSDIR)/wxrc/*.cpp $(DISTDIR)/utils/wxrc | |
660 | $(CP_P) $(UTILSDIR)/wxrc/*.rc $(DISTDIR)/utils/wxrc | |
a13a7f89 | 661 | |
ca58c9bb | 662 | MISC_DIST: ALL_GUI_DIST |
ca58c9bb VS |
663 | |
664 | INTL_DIST: | |
665 | mkdir $(DISTDIR)/locale | |
dbeb8eac MW |
666 | $(CP_P) $(INTLDIR)/Makefile $(DISTDIR)/locale |
667 | $(CP_P) $(INTLDIR)/*.po $(DISTDIR)/locale | |
668 | -$(CP_P) $(INTLDIR)/*.mo $(DISTDIR)/locale | |
f83b53a3 MW |
669 | subdirs=`cd $(INTLDIR) && ls */*.po | sed 's|/.*||' | uniq`; \ |
670 | for dir in "$$subdirs"; do \ | |
671 | mkdir $(DISTDIR)/locale/$$dir; \ | |
dbeb8eac | 672 | $(CP_P) $(INTLDIR)/$$dir/*.[pm]o $(DISTDIR)/locale/$$dir; \ |
f83b53a3 | 673 | done |
ca58c9bb VS |
674 | |
675 | MANUAL_DIST: | |
676 | mkdir $(DISTDIR)/docs | |
677 | mkdir $(DISTDIR)/docs/latex | |
678 | mkdir $(DISTDIR)/docs/latex/wx | |
dbeb8eac MW |
679 | $(CP_P) $(DOCDIR)/latex/wx/*.tex $(DISTDIR)/docs/latex/wx |
680 | $(CP_P) $(DOCDIR)/latex/wx/*.inc $(DISTDIR)/docs/latex/wx | |
681 | $(CP_P) $(DOCDIR)/latex/wx/*.gif $(DISTDIR)/docs/latex/wx | |
682 | $(CP_P) $(DOCDIR)/latex/wx/*.ini $(DISTDIR)/docs/latex/wx | |
683 | $(CP_P) $(DOCDIR)/latex/wx/*.bib $(DISTDIR)/docs/latex/wx | |
684 | $(CP_P) $(DOCDIR)/latex/wx/*.sty $(DISTDIR)/docs/latex/wx | |
ca58c9bb | 685 | |
6d7dec7b | 686 | |
83dbeea9 | 687 | # Copy all the files from wxPython needed for the Debian source package, |
6d7dec7b | 688 | # and then remove some that are not needed. |
ca58c9bb | 689 | PYTHON_DIST: |
6d7dec7b RD |
690 | for dir in `grep -v '#' $(WXDIR)/wxPython/distrib/DIRLIST`; do \ |
691 | echo "Copying dir: $$dir..."; \ | |
692 | mkdir $(DISTDIR)/$$dir; \ | |
dbeb8eac | 693 | $(CP_P) $(WXDIR)/$$dir/* $(DISTDIR)/$$dir > /dev/null 2>&1; \ |
6d7dec7b RD |
694 | done; \ |
695 | \ | |
696 | find $(DISTDIR)/wxPython -name "*~" > RM_FILES; \ | |
697 | find $(DISTDIR)/wxPython -name "*.pyc" >> RM_FILES; \ | |
698 | find $(DISTDIR)/wxPython -name "*.bat" >> RM_FILES; \ | |
699 | find $(DISTDIR)/wxPython -name "core" >> RM_FILES; \ | |
700 | find $(DISTDIR)/wxPython -name "core.[0-9]*" >> RM_FILES; \ | |
701 | find $(DISTDIR)/wxPython -name "*.orig" >> RM_FILES; \ | |
702 | find $(DISTDIR)/wxPython -name "*.rej" >> RM_FILES; \ | |
703 | for f in `cat RM_FILES`; do rm $$f; done; \ | |
704 | rm RM_FILES | |
705 | ||
ca58c9bb VS |
706 | |
707 | distrib_clean: | |
708 | $(RM) -r _dist_dir | |
709 | ||
710 | # VZ: the -only targets allow to do "make dist bzip-dist-only" without copying | |
711 | # the files twice | |
712 | dist-only: | |
77ffb593 | 713 | @echo "*** Creating wxWidgets distribution in $(DISTDIR)..." |
ca58c9bb VS |
714 | @cd _dist_dir && tar ch $(DISTDIRNAME) | gzip -f9 > ../$(WXARCHIVE); |
715 | @if test "$(USE_GUI)" = 1; then \ | |
716 | cd $(DISTDIR); \ | |
717 | mv samples wxSamples-$(WX_VERSION); \ | |
718 | echo "*** Creating wxSamples archive..."; \ | |
719 | tar ch wxSamples-$(WX_VERSION) | gzip -f9 > ../../$(WXSAMPLES); \ | |
720 | mv wxSamples-$(WX_VERSION) samples; \ | |
721 | mv demos wxDemos-$(WX_VERSION); \ | |
722 | echo "*** Creating wxDemos archive..."; \ | |
723 | tar ch wxDemos-$(WX_VERSION) | gzip -f9 > ../../$(WXDEMOS); \ | |
724 | mv wxDemos-$(WX_VERSION) demos; \ | |
725 | fi | |
726 | ||
0ffc9213 | 727 | distdir: @GUIDIST@ |
77ffb593 | 728 | @echo "*** Creating wxWidgets distribution in $(DISTDIR)..." |
ca58c9bb VS |
729 | @# now prune away a lot of the crap included by using cp -R |
730 | @# in other dist targets. | |
731 | find $(DISTDIR) \( -name "CVS" -o -name ".cvsignore" -o -name "*.dsp" -o -name "*.dsw" -o -name "*.hh*" -o \ | |
732 | \( -name "makefile.*" -a ! -name "makefile.unx" \) \) \ | |
1e6b2edf | 733 | -print | egrep -v '/samples/.*\.hh.$$' | xargs rm -rf |
0ffc9213 MW |
734 | |
735 | dist: distdir | |
ca58c9bb VS |
736 | @cd _dist_dir && tar ch $(DISTDIRNAME) | gzip -f9 > ../$(WXARCHIVE); |
737 | @if test "$(USE_GUI)" = 1; then \ | |
738 | cd $(DISTDIR); \ | |
739 | mv samples wxSamples-$(WX_VERSION); \ | |
740 | echo "*** Creating wxSamples archive..."; \ | |
741 | tar ch wxSamples-$(WX_VERSION) | gzip -f9 > ../../$(WXSAMPLES); \ | |
742 | mv wxSamples-$(WX_VERSION) samples; \ | |
743 | mv demos wxDemos-$(WX_VERSION); \ | |
744 | echo "*** Creating wxDemos archive..."; \ | |
745 | tar ch wxDemos-$(WX_VERSION) | gzip -f9 > ../../$(WXDEMOS); \ | |
746 | mv wxDemos-$(WX_VERSION) demos; \ | |
747 | fi | |
748 | ||
749 | bzip-dist-only: | |
77ffb593 | 750 | @echo "*** Creating wxWidgets distribution in $(DISTDIR)..." |
ca58c9bb VS |
751 | @cd _dist_dir && tar ch $(DISTDIRNAME) | bzip2 -f9 > ../$(WXARCHIVE_BZIP); |
752 | @if test "$(USE_GUI)" = 1; then \ | |
753 | cd $(DISTDIR); \ | |
754 | mv samples wxSamples-${WX_VERSION}; \ | |
755 | echo "*** Creating wxSamples archive..."; \ | |
756 | tar ch wxSamples-${WX_VERSION} | bzip2 -f9 > ../../$(WXSAMPLES_BZIP); \ | |
757 | mv wxSamples-${WX_VERSION} samples; \ | |
758 | mv demos wxDemos-${WX_VERSION}; \ | |
759 | echo "*** Creating wxDemos archive..."; \ | |
760 | tar ch wxDemos-${WX_VERSION} | bzip2 -f9 > ../../$(WXDEMOS_BZIP); \ | |
761 | mv wxDemos-${WX_VERSION} demos; \ | |
762 | fi | |
763 | ||
764 | bzip-dist: @GUIDIST@ | |
77ffb593 | 765 | @echo "*** Creating wxWidgets distribution in $(DISTDIR)..." |
ca58c9bb VS |
766 | @cd _dist_dir && tar ch $(DISTDIRNAME) | bzip2 -f9 > ../$(WXARCHIVE_BZIP) |
767 | @if test "$(USE_GUI)" = 1; then \ | |
768 | cd $(DISTDIR); \ | |
769 | mv samples wxSamples; \ | |
770 | tar ch wxSamples | bzip2 -f9 > ../../$(WXSAMPLES_BZIP); \ | |
771 | mv wxSamples samples; \ | |
772 | mv demos wxDemos; \ | |
773 | tar ch wxDemos | bzip2 -f9 > ../../$(WXDEMOS_BZIP); \ | |
774 | mv wxDemos demos; \ | |
775 | fi | |
776 | ||
777 | # RR: Copy text and binary data separatly | |
778 | win-dist: MSW_ZIP_TEXT_DIST | |
77ffb593 | 779 | @echo "*** Creating wxWidgets ZIP distribution in $(DISTDIR)..." |
ca58c9bb VS |
780 | @cd _dist_dir && mv $(DISTDIRNAME) wxMSW |
781 | @cd _dist_dir && zip -r -l ../$(WXARCHIVE_ZIP) * | |
dbeb8eac MW |
782 | $(CP_P) $(INCDIR)/wx/msw/*.cur _dist_dir/wxMSW/include/wx/msw |
783 | $(CP_P) $(INCDIR)/wx/msw/*.ico _dist_dir/wxMSW/include/wx/msw | |
784 | $(CP_P) $(INCDIR)/wx/msw/*.bmp _dist_dir/wxMSW/include/wx/msw | |
ca58c9bb VS |
785 | @cd _dist_dir && zip -r ../$(WXARCHIVE_ZIP) wxMSW/include/wx/msw/*.cur |
786 | @cd _dist_dir && zip -r ../$(WXARCHIVE_ZIP) wxMSW/include/wx/msw/*.ico | |
787 | @cd _dist_dir && zip -r ../$(WXARCHIVE_ZIP) wxMSW/include/wx/msw/*.bmp | |
788 | ||
ceec2216 | 789 | debian-dist: DEBIAN_SOURCE_DIR = $(WXDIR)/../wxwidgets@WX_RELEASE@@WX_FLAVOUR@-@WX_SUBVERSION@ |
ca58c9bb VS |
790 | debian-dist: debian-native-dist debian-msw-dirs MSW_DIST |
791 | mkdir $(DISTDIR)/debian | |
dbeb8eac MW |
792 | -$(CP_P) $(WXDIR)/debian/* $(DISTDIR)/debian |
793 | $(CP_P) $(DOCDIR)/licence.txt $(DISTDIR)/docs | |
794 | $(CP_P) $(DOCDIR)/licendoc.txt $(DISTDIR)/docs | |
795 | $(CP_P) $(DOCDIR)/preamble.txt $(DISTDIR)/docs | |
ca58c9bb VS |
796 | rm -f $(DISTDIR)/*.spec |
797 | ||
798 | @# now prune away a lot of the crap included by using cp -R | |
799 | @# in other dist targets. Ugly and hardly portable but it | |
800 | @# will run on any Debian box and that's enough for now. | |
801 | ||
b63b07a8 RL |
802 | find $(DISTDIR) \( -name "CVS" -o -name ".cvsignore" -o -name "*.dsp" \ |
803 | -o -name "*.dsw" -o -name "*.hh*" -o -name "*.mms" \ | |
804 | -o -name "*.mcp" -o -name "*M*.xml" -o -name "*.r" \ | |
fb9534f1 | 805 | -o -name "*.pro" \ |
065bb76d | 806 | -o -name "*.vpj" \ |
b63b07a8 RL |
807 | -o \( -name "makefile.*" -a ! -name "makefile.unx" \) \ |
808 | \) -print0 | xargs -0 rm -rf | |
809 | ||
810 | rm -rf $(DISTDIR)/wxPython/SWIG | |
811 | rm -rf $(DISTDIR)/wxPython/distrib | |
812 | rm -rf $(DISTDIR)/wxPython/distutils | |
813 | rm -rf $(DISTDIR)/wxPython/samples | |
814 | rm -rf $(DISTDIR)/wxPython/contrib/iewin | |
815 | find $(DISTDIR)/wxPython \( -name "mac" -o -name "msw" \) -print0 | xargs -0 rm -rf | |
816 | ||
ceec2216 RL |
817 | rm -rf $(DEBIAN_SOURCE_DIR) |
818 | mv $(DISTDIR) $(DEBIAN_SOURCE_DIR) | |
e1293dcf | 819 | |
ca58c9bb VS |
820 | |
821 | debian-native-dist: @GUIDIST@ UNIV_DIST MANUAL_DIST PYTHON_DIST | |
822 | ||
823 | debian-msw-dirs: | |
824 | mkdir $(DISTDIR)/include/wx/msw | |
825 | mkdir $(DISTDIR)/src/msw | |
826 | ||
827 | ||
828 | RPMTOP=_dist_dir/_rpm_top | |
829 | ||
830 | rpm: bzip-dist | |
831 | @echo "*** Building RPMs ***" | |
832 | -mkdir $(RPMTOP) | |
833 | -mkdir $(RPMTOP)/SOURCES | |
834 | -mkdir $(RPMTOP)/SPECS | |
835 | -mkdir $(RPMTOP)/BUILD | |
836 | -mkdir $(RPMTOP)/RPMS | |
837 | -mkdir $(RPMTOP)/SRPMS | |
838 | cp -f $(WXARCHIVE_BZIP) $(RPMTOP)/SOURCES | |
839 | rpm -ba --define "_topdir `pwd`/$(RPMTOP)" $(WXDIR)/wx$(TOOLKIT).spec | |
840 | mv -f `find $(RPMTOP) -name "wx$(TOOLKIT)*.rpm"` . |