]>
Commit | Line | Data |
---|---|---|
e4c4c1c6 RL |
1 | #!/usr/bin/make -f |
2 | # debian/rules file to build packages from wxWindows CVS source | |
3 | # | |
4 | # Sculpted 13/2/2000 by Ron Lee <ron@debian.org> from new and | |
5 | # variously stolen code :-) | |
f6bcfd97 BP |
6 | # It makes copious use of the debhelper utilities written by |
7 | # Joey Hess and others. | |
e4c4c1c6 RL |
8 | |
9 | #export DH_VERBOSE=1 | |
10 | export DH_COMPAT=2 | |
f6bcfd97 | 11 | export DH_OPTIONS |
e4c4c1c6 | 12 | |
e0a4aa8a | 13 | release:=$(shell dpkg-parsechangelog | sed -n 's/^Source: wxwindows//p') |
e4c4c1c6 | 14 | |
e0a4aa8a | 15 | # Packages to build: |
5c0e67b2 RL |
16 | package_wxbase_lib=libwxbase$(release) |
17 | package_wxbase_dev=libwxbase$(release)-dev | |
f6bcfd97 | 18 | package_wxbase_dbg=libwxbase$(release)-dbg |
e4c4c1c6 RL |
19 | package_gtk_lib=libwxgtk$(release) |
20 | package_gtk_dev=libwxgtk$(release)-dev | |
f6bcfd97 | 21 | package_gtk_dbg=libwxgtk$(release)-dbg |
e0a4aa8a | 22 | package_gtk_py=libwxgtk$(release)-python |
f6bcfd97 BP |
23 | package_gtk_contrib=libwxgtk$(release)-contrib |
24 | package_gtk_contrib_dev=libwxgtk$(release)-contrib-dev | |
25 | package_headers=wxwin$(release)-headers | |
e0a4aa8a | 26 | package_doc=wxwin$(release)-doc |
5c0e67b2 | 27 | package_examples=wxwin$(release)-examples |
e4c4c1c6 | 28 | |
e0a4aa8a | 29 | # Build directories: |
5c0e67b2 RL |
30 | objdir_wxbase_shared=objs_wxbase_sh |
31 | objdir_wxbase_static=objs_wxbase_st | |
f6bcfd97 | 32 | objdir_wxbase_debug=objs_wxbase_d |
e4c4c1c6 RL |
33 | objdir_gtk_shared=objs_gtk_sh |
34 | objdir_gtk_static=objs_gtk_st | |
f6bcfd97 | 35 | objdir_gtk_debug=objs_gtk_d |
e0a4aa8a RL |
36 | objdir_doc_cruft=objs_doc_con |
37 | objdir_doc=docs/wxWindows-manual.html | |
5c0e67b2 | 38 | objdir_examples=docs/examples |
f6bcfd97 BP |
39 | objdirs=$(objdir_wxbase_shared) $(objdir_wxbase_static) $(objdir_wxbase_debug) \ |
40 | $(objdir_gtk_shared) $(objdir_gtk_static) $(objdir_gtk_debug) \ | |
41 | $(objdir_doc) $(objdir_examples) | |
e4c4c1c6 | 42 | |
5c0e67b2 | 43 | build_stamps=build-wxbase-shared-stamp build-wxbase-static-stamp \ |
f6bcfd97 BP |
44 | build-wxbase-debug-stamp build-gtk-shared-stamp \ |
45 | build-gtk-static-stamp build-gtk-debug-stamp \ | |
46 | build-contrib-shared-stamp build-contrib-static-stamp \ | |
5c0e67b2 | 47 | build-gtk-python-stamp build-examples-stamp build-doc-stamp |
e4c4c1c6 | 48 | |
f6bcfd97 BP |
49 | install_all=install-wxbase-lib install-wxbase-dev install-wxbase-dbg \ |
50 | install-gtk-lib install-gtk-dev install-gtk-dbg \ | |
51 | install-gtk-contrib install-gtk-contrib-dev install-gtk-py \ | |
52 | install-headers install-doc install-examples | |
53 | ||
e0a4aa8a RL |
54 | wxconfig:=$(shell pwd)/$(objdir_gtk_shared)/wx-config \ |
55 | --prefix=$(shell pwd) \ | |
56 | --exec-prefix=$(shell pwd)/$(objdir_gtk_shared) | |
e4c4c1c6 RL |
57 | |
58 | ||
e0a4aa8a RL |
59 | # The Rules: |
60 | ||
e4c4c1c6 RL |
61 | debian/control: debian/control.in |
62 | sed -e 's/=V/$(release)/g' < debian/control.in > debian/control | |
63 | ||
e0a4aa8a RL |
64 | debian/wxwin-doc.doc-base: debian/wxwin-doc.doc-base.in |
65 | sed -e 's/=V/$(release)/g' < debian/wxwin-doc.doc-base.in > debian/wxwin-doc.doc-base | |
66 | ||
f6bcfd97 BP |
67 | control-files-stamp: debian/control debian/wxwin-doc.doc-base |
68 | dh_testdir | |
69 | @for f in dirs docs postinst; do \ | |
70 | echo "generating control file $(package_wxbase_lib).$$f"; \ | |
71 | cp debian/libwxbase.$$f debian/$(package_wxbase_lib).$$f; \ | |
72 | done; | |
73 | @for f in dirs docs files links postinst prerm; do \ | |
74 | echo "generating control file $(package_wxbase_dev).$$f"; \ | |
75 | cp debian/libwxbase-dev.$$f debian/$(package_wxbase_dev).$$f; \ | |
76 | done; | |
77 | @for f in dirs docs links postinst prerm; do \ | |
78 | echo "generating control file $(package_wxbase_dbg).$$f"; \ | |
79 | cp debian/libwxbase-dbg.$$f debian/$(package_wxbase_dbg).$$f; \ | |
80 | done; | |
81 | @for f in dirs docs postinst; do \ | |
82 | echo "generating control file $(package_gtk_lib).$$f"; \ | |
83 | cp debian/libwxgtk.$$f debian/$(package_gtk_lib).$$f; \ | |
84 | done; | |
85 | @for f in dirs docs files links postinst prerm; do \ | |
86 | echo "generating control file $(package_gtk_dev).$$f"; \ | |
87 | cp debian/libwxgtk-dev.$$f debian/$(package_gtk_dev).$$f; \ | |
88 | done; | |
89 | @for f in dirs docs links postinst prerm; do \ | |
90 | echo "generating control file $(package_gtk_dbg).$$f"; \ | |
91 | cp debian/libwxgtk-dbg.$$f debian/$(package_gtk_dbg).$$f; \ | |
92 | done; | |
93 | @for f in dirs docs files postinst prerm; do \ | |
94 | echo "generating control file $(package_gtk_py).$$f"; \ | |
95 | cp debian/libwxgtk-python.$$f debian/$(package_gtk_py).$$f; \ | |
96 | done; | |
97 | @for f in dirs docs postinst; do \ | |
98 | echo "generating control file $(package_gtk_contrib).$$f"; \ | |
99 | cp debian/libwxgtk-contrib.$$f debian/$(package_gtk_contrib).$$f; \ | |
100 | done; | |
101 | @for f in dirs docs files; do \ | |
102 | echo "generating control file $(package_gtk_contrib_dev).$$f"; \ | |
103 | cp debian/libwxgtk-contrib-dev.$$f debian/$(package_gtk_contrib_dev).$$f; \ | |
104 | done; | |
105 | @for f in dirs docs files; do \ | |
106 | echo "generating control file $(package_headers).$$f"; \ | |
107 | cp debian/wxwin-headers.$$f debian/$(package_headers).$$f; \ | |
108 | done; | |
109 | @for f in dirs docs doc-base; do \ | |
110 | echo "generating control file $(package_doc).$$f"; \ | |
111 | cp debian/wxwin-doc.$$f debian/$(package_doc).$$f; \ | |
112 | done; | |
113 | @for f in docs examples; do \ | |
114 | echo "generating control file $(package_examples).$$f"; \ | |
115 | cp debian/wxwin-examples.$$f debian/$(package_examples).$$f; \ | |
116 | done; | |
117 | touch $@ | |
118 | ||
119 | build: control-files-stamp $(build_stamps) | |
e4c4c1c6 | 120 | |
5c0e67b2 RL |
121 | build-wxbase-shared-stamp: |
122 | dh_testdir | |
123 | mkdir $(objdir_wxbase_shared) | |
124 | cd $(objdir_wxbase_shared) \ | |
f6bcfd97 BP |
125 | && ../configure --prefix=/usr \ |
126 | --disable-gui \ | |
127 | --enable-burnt_name \ | |
128 | --with-zlib=sys \ | |
5c0e67b2 RL |
129 | && $(MAKE) |
130 | touch $@ | |
131 | ||
132 | build-wxbase-static-stamp: | |
133 | dh_testdir | |
134 | mkdir $(objdir_wxbase_static) | |
135 | cd $(objdir_wxbase_static) \ | |
f6bcfd97 BP |
136 | && ../configure --prefix=/usr \ |
137 | --disable-gui \ | |
138 | --disable-shared \ | |
139 | --with-zlib=sys \ | |
140 | && $(MAKE) | |
141 | touch $@ | |
142 | ||
143 | build-wxbase-debug-stamp: | |
144 | dh_testdir | |
145 | mkdir $(objdir_wxbase_debug) | |
146 | cd $(objdir_wxbase_debug) \ | |
147 | && ../configure --prefix=/usr \ | |
148 | --disable-gui \ | |
149 | --enable-debug \ | |
150 | --enable-burnt_name \ | |
151 | --with-zlib=sys \ | |
5c0e67b2 RL |
152 | && $(MAKE) |
153 | touch $@ | |
154 | ||
e4c4c1c6 RL |
155 | build-gtk-shared-stamp: |
156 | dh_testdir | |
157 | mkdir $(objdir_gtk_shared) | |
158 | cd $(objdir_gtk_shared) \ | |
f6bcfd97 BP |
159 | && ../configure --prefix=/usr \ |
160 | --with-gtk \ | |
161 | --with-opengl \ | |
162 | --enable-burnt_name \ | |
163 | --with-zlib=sys \ | |
164 | --with-libjpeg=sys \ | |
165 | --with-libpng=sys \ | |
166 | --with-libtiff=sys \ | |
e4c4c1c6 RL |
167 | && $(MAKE) |
168 | touch $@ | |
169 | ||
170 | build-gtk-static-stamp: | |
171 | dh_testdir | |
172 | mkdir $(objdir_gtk_static) | |
173 | cd $(objdir_gtk_static) \ | |
f6bcfd97 BP |
174 | && ../configure --prefix=/usr \ |
175 | --with-gtk \ | |
176 | --with-opengl \ | |
177 | --disable-shared \ | |
178 | --with-zlib=sys \ | |
179 | --with-libjpeg=sys \ | |
180 | --with-libpng=sys \ | |
181 | --with-libtiff=sys \ | |
e4c4c1c6 RL |
182 | && $(MAKE) |
183 | touch $@ | |
184 | ||
f6bcfd97 BP |
185 | build-gtk-debug-stamp: |
186 | dh_testdir | |
187 | mkdir $(objdir_gtk_debug) | |
188 | cd $(objdir_gtk_debug) \ | |
189 | && ../configure --prefix=/usr \ | |
190 | --with-gtk \ | |
191 | --with-opengl \ | |
192 | --enable-debug \ | |
193 | --enable-burnt_name \ | |
194 | --with-zlib=sys \ | |
195 | --with-libjpeg=sys \ | |
196 | --with-libpng=sys \ | |
197 | --with-libtiff=sys \ | |
198 | && $(MAKE) | |
199 | touch $@ | |
200 | ||
201 | build-contrib-shared-stamp: build-gtk-shared-stamp | |
202 | dh_testdir | |
203 | cd $(objdir_gtk_shared)/contrib/src && $(MAKE) | |
204 | touch $@ | |
205 | ||
206 | build-contrib-static-stamp: build-gtk-static-stamp | |
207 | dh_testdir | |
208 | cd $(objdir_gtk_static)/contrib/src && $(MAKE) | |
209 | touch $@ | |
210 | ||
e0a4aa8a RL |
211 | build-gtk-python-stamp: build-gtk-shared-stamp |
212 | dh_testdir | |
f6bcfd97 | 213 | cd wxPython/src \ |
e0a4aa8a | 214 | && touch gtk/*.cpp gtk/*.py \ |
f6bcfd97 | 215 | && ../distrib/build.py -b WXDIR=../.. WXCONFIG='$(wxconfig)' |
e0a4aa8a RL |
216 | touch $@ |
217 | ||
f538864d RL |
218 | build-doc-stamp: build-gtk-shared-stamp |
219 | dh_testdir | |
220 | cd $(objdir_gtk_shared)/utils/tex2rtf/src \ | |
e0a4aa8a RL |
221 | && $(MAKE) |
222 | mkdir $(objdir_doc) | |
223 | mkdir $(objdir_doc_cruft) | |
224 | cd $(objdir_doc_cruft) \ | |
225 | && LD_LIBRARY_PATH=../$(objdir_gtk_shared)/lib \ | |
226 | ../$(objdir_gtk_shared)/utils/tex2rtf/src/tex2rtf \ | |
5c0e67b2 | 227 | ../docs/latex/wx/manual.tex ../$(objdir_doc)/wxwin.htm -twice -html |
e0a4aa8a RL |
228 | cp docs/latex/wx/*.gif $(objdir_doc) |
229 | rm -rf $(objdir_doc_cruft) | |
230 | rm -f $(objdir_doc)/wxwin.con $(objdir_doc)/wxwin.hh* \ | |
231 | $(objdir_doc)/wxwin.htx $(objdir_doc)/wxwin.ref | |
f538864d RL |
232 | touch $@ |
233 | ||
5c0e67b2 RL |
234 | build-examples-stamp: |
235 | dh_testdir | |
236 | mkdir $(objdir_examples) | |
237 | cp -a samples $(objdir_examples) | |
238 | cp -a demos $(objdir_examples) | |
f6bcfd97 | 239 | cp -a wxPython/demo $(objdir_examples)/wxPython |
5c0e67b2 RL |
240 | @for d in $(objdir_examples)/demos $(objdir_examples)/samples; do \ |
241 | (cd $$d \ | |
242 | && mv Makefile.in Makefile \ | |
243 | && rm -f configure* \ | |
244 | && find -name 'Makefile.in' -exec rm -f '{}' ';' \ | |
245 | && for f in $$(find -type d); do \ | |
246 | if [ -f $$f/makefile.unx ]; then \ | |
247 | mv $$f/makefile.unx $$f/Makefile; \ | |
248 | fi; \ | |
249 | done) \ | |
250 | done; | |
251 | touch $@ | |
252 | ||
e4c4c1c6 RL |
253 | clean: debian/control |
254 | dh_testdir | |
255 | dh_testroot | |
f6bcfd97 BP |
256 | rm -rf control-files-stamp $(build_stamps) $(objdirs) |
257 | -cd wxPython/src && $(MAKE) clean | |
e4c4c1c6 | 258 | dh_clean |
5c0e67b2 RL |
259 | rm -f debian/$(package_wxbase_lib).* |
260 | rm -f debian/$(package_wxbase_dev).* | |
f6bcfd97 | 261 | rm -f debian/$(package_wxbase_dbg).* |
f538864d RL |
262 | rm -f debian/$(package_gtk_lib).* |
263 | rm -f debian/$(package_gtk_dev).* | |
f6bcfd97 | 264 | rm -f debian/$(package_gtk_dbg).* |
e0a4aa8a | 265 | rm -f debian/$(package_gtk_py).* |
f6bcfd97 BP |
266 | rm -f debian/$(package_gtk_contrib).* |
267 | rm -f debian/$(package_gtk_contrib_dev).* | |
268 | rm -f debian/$(package_headers).* | |
f538864d | 269 | rm -f debian/$(package_doc).* |
5c0e67b2 | 270 | rm -f debian/$(package_examples).* |
e4c4c1c6 | 271 | |
f6bcfd97 BP |
272 | install: build $(install_all) |
273 | ||
274 | install-wxbase-lib: DH_OPTIONS=-p$(package_wxbase_lib) | |
275 | install-wxbase-lib: build-wxbase-shared-stamp | |
e0a4aa8a RL |
276 | dh_testdir |
277 | dh_testroot | |
e4c4c1c6 RL |
278 | dh_clean -k |
279 | dh_installdirs | |
f6bcfd97 BP |
280 | cp -a $(objdir_wxbase_shared)/lib/* debian/$(package_wxbase_lib)/usr/lib |
281 | cp $(objdir_wxbase_shared)/wxbase-config debian/$(package_wxbase_lib)/usr/bin/ | |
282 | ||
283 | install-wxbase-dev: DH_OPTIONS=-p$(package_wxbase_dev) | |
284 | install-wxbase-dev: build-wxbase-static-stamp install-wxbase-lib | |
285 | dh_testdir | |
286 | dh_testroot | |
287 | dh_clean -k | |
288 | dh_installdirs | |
289 | dh_movefiles --sourcedir=debian/$(package_wxbase_lib) | |
290 | cp $(objdir_wxbase_static)/lib/*.a debian/$(package_wxbase_dev)/usr/lib | |
291 | ||
292 | install-wxbase-dbg: DH_OPTIONS=-p$(package_wxbase_dbg) | |
293 | install-wxbase-dbg: build-wxbase-debug-stamp | |
294 | dh_testdir | |
295 | dh_testroot | |
296 | dh_clean -k | |
297 | dh_installdirs | |
298 | cp -a $(objdir_wxbase_debug)/lib/* debian/$(package_wxbase_dbg)/usr/lib | |
299 | cp $(objdir_wxbase_debug)/wxbased-config debian/$(package_wxbase_dbg)/usr/bin/ | |
300 | ||
301 | install-gtk-lib: DH_OPTIONS=-p$(package_gtk_lib) | |
302 | install-gtk-lib: build-gtk-shared-stamp | |
303 | dh_testdir | |
304 | dh_testroot | |
305 | dh_clean -k | |
306 | dh_installdirs | |
e4c4c1c6 | 307 | cd $(objdir_gtk_shared) \ |
f6bcfd97 BP |
308 | && $(MAKE) install prefix=`pwd`/../debian/$(package_gtk_lib)/usr |
309 | rm -f debian/$(package_gtk_lib)/usr/bin/wx-config | |
e4c4c1c6 | 310 | |
f6bcfd97 BP |
311 | install-gtk-dev: DH_OPTIONS=-p$(package_gtk_dev) |
312 | install-gtk-dev: build-gtk-static-stamp install-gtk-lib | |
313 | dh_testdir | |
314 | dh_testroot | |
315 | dh_clean -k | |
316 | dh_installdirs | |
317 | dh_movefiles --sourcedir=debian/$(package_gtk_lib) | |
318 | cp $(objdir_gtk_static)/lib/libwx_gtk*.a debian/$(package_gtk_dev)/usr/lib | |
e4c4c1c6 | 319 | |
f6bcfd97 BP |
320 | install-gtk-dbg: DH_OPTIONS=-p$(package_gtk_dbg) |
321 | install-gtk-dbg: build-gtk-debug-stamp | |
322 | dh_testdir | |
323 | dh_testroot | |
324 | dh_clean -k | |
325 | dh_installdirs | |
326 | cp -a $(objdir_gtk_debug)/lib/* debian/$(package_gtk_dbg)/usr/lib | |
327 | cp $(objdir_gtk_debug)/wxgtkd-config debian/$(package_gtk_dbg)/usr/bin/ | |
e4c4c1c6 | 328 | |
f6bcfd97 BP |
329 | install-gtk-contrib: DH_OPTIONS=-p$(package_gtk_contrib) |
330 | install-gtk-contrib: build-contrib-shared-stamp | |
e4c4c1c6 RL |
331 | dh_testdir |
332 | dh_testroot | |
f6bcfd97 BP |
333 | dh_clean -k |
334 | dh_installdirs | |
335 | cd $(objdir_gtk_shared)/contrib/src \ | |
336 | && $(MAKE) install prefix=`pwd`/../../../debian/$(package_gtk_contrib)/usr | |
337 | ||
338 | install-gtk-contrib-dev: DH_OPTIONS=-p$(package_gtk_contrib_dev) | |
339 | install-gtk-contrib-dev: build-contrib-static-stamp install-gtk-dev | |
340 | dh_testdir | |
341 | dh_testroot | |
342 | dh_clean -k | |
343 | dh_installdirs | |
344 | dh_movefiles --sourcedir=debian/$(package_gtk_contrib) | |
345 | cp $(objdir_gtk_static)/lib/*.a debian/$(package_gtk_contrib_dev)/usr/lib | |
346 | rm -f debian/$(package_gtk_contrib_dev)/usr/lib/libwx_gtk*.a | |
347 | ||
348 | install-gtk-py: DH_OPTIONS=-p$(package_gtk_py) | |
349 | install-gtk-py: build-gtk-python-stamp | |
350 | dh_testdir | |
351 | dh_testroot | |
352 | dh_clean -k | |
353 | dh_installdirs | |
354 | cd wxPython/src \ | |
355 | && ../distrib/build.py -i \ | |
356 | TARGETDIR=../../debian/$(package_gtk_py)/usr/lib/python1.5/site-packages/wxPython \ | |
357 | HELPERLIBDIR=../../debian/$(package_gtk_py)/usr/lib \ | |
358 | WXDIR=../.. | |
359 | rm -rf debian/$(package_gtk_py)/usr/lib/python1.5/site-packages/wxPython/demo | |
360 | find debian/$(package_gtk_py)/usr/lib/python1.5/site-packages/wxPython \ | |
361 | -name '*.py?' -exec rm '{}' ';' | |
362 | ||
363 | install-headers: DH_OPTIONS=-p$(package_headers) | |
364 | install-headers: install-gtk-lib | |
365 | dh_testdir | |
366 | dh_testroot | |
367 | dh_clean -k | |
368 | dh_installdirs | |
369 | dh_movefiles --sourcedir=debian/$(package_gtk_lib) | |
370 | dh_installmanpages \ | |
e4c4c1c6 RL |
371 | ansi2knr.1 \ |
372 | jpegtran.1 \ | |
f6bcfd97 | 373 | libpng.3 \ |
e4c4c1c6 | 374 | libpngpf.3 \ |
f6bcfd97 | 375 | zlib.3 \ |
e4c4c1c6 | 376 | png.5 |
f6bcfd97 BP |
377 | |
378 | install-doc: DH_OPTIONS=-p$(package_doc) | |
379 | install-doc: build-doc-stamp | |
380 | dh_testdir | |
381 | dh_testroot | |
382 | dh_clean -k | |
383 | dh_installdirs | |
384 | ||
385 | install-examples: DH_OPTIONS=-p$(package_examples) | |
386 | install-examples: build-examples-stamp | |
387 | dh_testdir | |
388 | dh_testroot | |
389 | dh_clean -k | |
390 | dh_installdirs | |
391 | ||
392 | binary-common: | |
393 | dh_testversion 1.1.17 | |
394 | dh_testdir | |
395 | dh_testroot | |
396 | dh_installdocs | |
5c0e67b2 RL |
397 | dh_installchangelogs |
398 | dh_installexamples | |
399 | dh_link | |
e4c4c1c6 RL |
400 | dh_strip |
401 | dh_compress | |
402 | dh_fixperms | |
403 | dh_makeshlibs | |
404 | dh_installdeb | |
e0a4aa8a | 405 | dh_shlibdeps -ldebian/$(package_gtk_lib)/usr/lib:debian/$(package_gtk_py)/usr/lib |
e4c4c1c6 RL |
406 | dh_gencontrol |
407 | dh_md5sums | |
408 | dh_builddeb | |
409 | ||
f6bcfd97 BP |
410 | # Build architecture-independent files here. |
411 | binary-indep: build install | |
412 | $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common | |
413 | ||
414 | # Build architecture-dependent files here. | |
415 | binary-arch: build install | |
416 | $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common | |
417 | ||
418 | # Build all packages target. | |
419 | binary: binary-arch binary-indep | |
420 | ||
421 | ||
422 | ############################################################################ | |
423 | # | |
424 | # Some rules to build a subset of the complete list of packages that can be | |
425 | # built from CVS. Beware that packages produced with these rules may *NOT* | |
426 | # be compatible with packages built using the 'binary' target or even with | |
427 | # Debian policy. Do not distribute packages built with these rules, they | |
428 | # are currently useful for rapid in-house testing by developers only. | |
429 | ||
430 | # libwxgtk shared lib package | |
431 | binary-gtk: control-files-stamp install-gtk-lib install-headers | |
432 | $(MAKE) -f debian/rules DH_OPTIONS="-p$(package_gtk_lib) -p$(package_headers)" binary-common | |
433 | ||
434 | binary-gtk-dev: control-files-stamp install-gtk-dev install-headers | |
435 | $(MAKE) -f debian/rules \ | |
436 | DH_OPTIONS="-p$(package_gtk_lib) -p$(package_gtk_dev) -p$(package_headers)" \ | |
437 | binary-common | |
438 | ||
439 | binary-gtk-dbg: control-files-stamp install-gtk-dbg install-headers | |
440 | $(MAKE) -f debian/rules DH_OPTIONS="-p$(package_gtk_dbg) -p$(package_headers)" binary-common | |
441 | ||
442 | # libwxbase shared lib package | |
443 | binary-wxbase: control-files-stamp install-wxbase-lib install-headers | |
444 | $(MAKE) -f debian/rules DH_OPTIONS="-p$(package_wxbase_lib) -p$(package_headers)" binary-common | |
445 | ||
446 | binary-wxbase-dev: control-files-stamp install-wxbase-dev install-headers | |
447 | $(MAKE) -f debian/rules \ | |
448 | DH_OPTIONS="-p$(package_wxbase_lib) -p$(package_wxbase_dev) -p$(package_headers)" \ | |
449 | binary-common | |
450 | ||
451 | binary-wxbase-dbg: control-files-stamp install-wxbase-dbg install-headers | |
452 | $(MAKE) -f debian/rules DH_OPTIONS="-p$(package_wxbase_dbg) -p$(package_headers)" binary-common | |
453 | ||
454 | # docs package | |
455 | binary-doc: control-files-stamp install-doc | |
456 | $(MAKE) -f debian/rules DH_OPTIONS=-p$(package_doc) binary-common | |
457 | ||
458 | ||
459 | .PHONY: build clean binary-indep binary-arch binary binary-common binary-gtk \ | |
460 | binary-gtk-dev binary-gtk-dbg binary-wxbase binary-wxbase-dev \ | |
461 | binary-wxbase-dbg binary-doc install install-wxbase-lib \ | |
462 | install-wxbase-dev install-wxbase-dbg install-gtk-lib install-gtk-dev \ | |
463 | install-gtk-dbg install-gtk-contrib install-gtk-contrib-dev \ | |
464 | install-gtk-py install-headers install-doc install-examples | |
465 |