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