2 # debian/rules file to build packages from wxWindows CVS source
4 # Sculpted 13/2/2000 by Ron Lee <ron@debian.org> from new and
5 # variously stolen code :-)
6 # It makes copious use of the debhelper utilities written by
7 # Joey Hess and others.
13 release
:=$(shell dpkg-parsechangelog | sed
-n
's/^Source: wxwindows//p')
14 python_dir
:=python
$(shell python
-c
"import sys;print sys.version[:3]")
16 cross_host
=i586-mingw32msvc
17 cross_build
=$(shell .
/config.guess
)
20 package_wxbase_lib
=libwxbase
$(release
)
21 package_wxbase_dev
=libwxbase
$(release
)-dev
22 package_wxbase_dbg
=libwxbase
$(release
)-dbg
23 package_gtk_lib
=libwxgtk
$(release
)
24 package_gtk_dev
=libwxgtk
$(release
)-dev
25 package_gtk_dbg
=libwxgtk
$(release
)-dbg
26 package_gtk_py
=libwxgtk
$(release
)-python
27 package_gtk_contrib
=libwxgtk
$(release
)-contrib
28 package_gtk_contrib_dev
=libwxgtk
$(release
)-contrib-dev
29 package_headers
=wxwin
$(release
)-headers
30 package_i18n
=wxwin
$(release
)-i18n
31 package_doc
=wxwin
$(release
)-doc
32 package_examples
=wxwin
$(release
)-examples
34 package_wxbase_msw_dev
=libwxbase-msw
$(release
)-dev
35 package_msw_dev
=libwxmsw
$(release
)-dev
36 package_headers_msw
=wxwin
$(release
)-headers-msw
39 objdir_wxbase_shared
=objs_wxbase_sh
40 objdir_wxbase_static
=objs_wxbase_st
41 objdir_wxbase_debug
=objs_wxbase_d
42 objdir_gtk_shared
=objs_gtk_sh
43 objdir_gtk_static
=objs_gtk_st
44 objdir_gtk_debug
=objs_gtk_d
45 objdir_doc_cruft
=objs_doc_con
46 objdir_doc
=docs
/wxWindows-manual.html
47 objdir_examples
=docs
/examples
50 objdir_wxbase_msw_static
=objs_wxbase_msw_st
51 objdir_msw_static
=objs_msw_st
53 objdirs
=$(objdir_wxbase_shared
) $(objdir_wxbase_static
) $(objdir_wxbase_debug
) \
54 $(objdir_gtk_shared
) $(objdir_gtk_static
) $(objdir_gtk_debug
) \
55 $(objdir_doc_cruft
) $(objdir_doc
) $(objdir_examples
) \
56 $(objdir_wxbase_msw_static
) $(objdir_msw_static
)
58 # note that the i18n package is actually arch indep (once built)
59 # but must be built (and installed) during the arch any phase as
60 # it's pulled out of the wxGtk shared lib package.
63 build_arch_stamps
=build-wxbase-shared-stamp build-wxbase-static-stamp \
64 build-wxbase-debug-stamp build-gtk-shared-stamp \
65 build-gtk-static-stamp build-gtk-debug-stamp \
66 build-contrib-shared-stamp build-contrib-static-stamp \
67 build-gtk-py-stamp build-i18n-stamp
69 build_indep_stamps
=build-examples-stamp build-doc-stamp
71 build_cross_stamps
=build-wxbase-msw-dev-stamp build-msw-dev-stamp
73 build_stamps_native
=$(build_arch_stamps
) $(build_indep_stamps
)
75 build_stamps
=$(build_stamps_native
) $(build_cross_stamps
)
78 install_all_arch
=install-wxbase-lib install-wxbase-dev install-wxbase-dbg \
79 install-gtk-lib install-gtk-dev install-gtk-dbg \
80 install-gtk-contrib install-gtk-contrib-dev install-gtk-py \
81 install-headers install-i18n
83 install_all_indep
=install-examples install-doc
85 install_all_cross
=install-wxbase-msw-dev install-msw-dev install-headers-msw
87 install_all_native
=$(install_all_arch
) $(install_all_indep
)
89 install_all
=$(install_all_native
) $(install_all_cross
)
92 wxconfig
:=$(shell pwd
)/$(objdir_gtk_shared
)/wx-config \
93 --prefix=$(shell pwd
) \
94 --exec-prefix
=$(shell pwd
)/$(objdir_gtk_shared
)
99 debian
/control
: debian
/control.in
100 sed
-e
's/=V/$(release)/g' < debian
/control.in
> debian
/control
102 control-files-stamp
: debian
/control
104 @for f in dirs postinst
; do \
105 echo
"generating control file $(package_wxbase_lib).$$f"; \
106 cp debian
/libwxbase.
$$f debian
/$(package_wxbase_lib
).
$$f; \
108 @for f in dirs files links postinst prerm
; do \
109 echo
"generating control file $(package_wxbase_dev).$$f"; \
110 sed
-e
's/=V/$(release)/g' < debian
/libwxbase-dev.
$$f \
111 > debian
/$(package_wxbase_dev
).
$$f; \
113 @for f in dirs links postinst prerm
; do \
114 echo
"generating control file $(package_wxbase_dbg).$$f"; \
115 sed
-e
's/=V/$(release)/g' < debian
/libwxbase-dbg.
$$f \
116 > debian
/$(package_wxbase_dbg
).
$$f; \
118 @for f in dirs postinst
; do \
119 echo
"generating control file $(package_gtk_lib).$$f"; \
120 cp debian
/libwxgtk.
$$f debian
/$(package_gtk_lib
).
$$f; \
122 @for f in dirs files links postinst prerm
; do \
123 echo
"generating control file $(package_gtk_dev).$$f"; \
124 sed
-e
's/=V/$(release)/g' < debian
/libwxgtk-dev.
$$f \
125 > debian
/$(package_gtk_dev
).
$$f; \
127 @for f in dirs links postinst prerm
; do \
128 echo
"generating control file $(package_gtk_dbg).$$f"; \
129 sed
-e
's/=V/$(release)/g' < debian
/libwxgtk-dbg.
$$f \
130 > debian
/$(package_gtk_dbg
).
$$f; \
132 @for f in dirs docs files postinst prerm
; do \
133 echo
"generating control file $(package_gtk_py).$$f"; \
134 sed
-e
's/=PY/$(python_dir)/g;s/=V/$(release)/g' < debian
/libwxgtk-python.
$$f \
135 > debian
/$(package_gtk_py
).
$$f; \
137 @for f in dirs postinst
; do \
138 echo
"generating control file $(package_gtk_contrib).$$f"; \
139 cp debian
/libwxgtk-contrib.
$$f debian
/$(package_gtk_contrib
).
$$f; \
141 @for f in dirs files
; do \
142 echo
"generating control file $(package_gtk_contrib_dev).$$f"; \
143 cp debian
/libwxgtk-contrib-dev.
$$f debian
/$(package_gtk_contrib_dev
).
$$f; \
145 @for f in dirs files
; do \
146 echo
"generating control file $(package_headers).$$f"; \
147 cp debian
/wxwin-headers.
$$f debian
/$(package_headers
).
$$f; \
149 @for f in dirs files
; do \
150 echo
"generating control file $(package_i18n).$$f"; \
151 cp debian
/wxwin-i18n.
$$f debian
/$(package_i18n
).
$$f; \
153 @for f in dirs docs doc-base
; do \
154 echo
"generating control file $(package_doc).$$f"; \
155 sed
-e
's/=V/$(release)/g' < debian
/wxwin-doc.
$$f \
156 > debian
/$(package_doc
).
$$f; \
158 @for f in examples
; do \
159 echo
"generating control file $(package_examples).$$f"; \
160 cp debian
/wxwin-examples.
$$f debian
/$(package_examples
).
$$f; \
162 @for f in dirs links postinst prerm
; do \
163 echo
"generating control file $(package_wxbase_msw_dev).$$f"; \
164 sed
-e
's/=V/$(release)/g;s/=H/$(cross_host)/g' < debian
/libwxbase-msw-dev.
$$f \
165 > debian
/$(package_wxbase_msw_dev
).
$$f; \
167 @for f in dirs links postinst prerm
; do \
168 echo
"generating control file $(package_msw_dev).$$f"; \
169 sed
-e
's/=V/$(release)/g;s/=H/$(cross_host)/g' < debian
/libwxmsw-dev.
$$f \
170 > debian
/$(package_msw_dev
).
$$f; \
173 echo
"generating control file $(package_headers_msw).$$f"; \
174 sed
-e
's/=H/$(cross_host)/g' < debian
/wxwin-headers-msw.
$$f \
175 > debian
/$(package_headers_msw
).
$$f; \
179 build_arch
: control-files-stamp
$(build_arch_stamps
)
180 build_all
: control-files-stamp
$(build_stamps_native
)
182 # Really we should probably do nothing here until we know which
183 # binary target is being called, but alpha builds were exploding
184 # (compiler segfaults) in random places when building under fakeroot
185 # from the binary-arch target. Build all -arch files here then, and
186 # let the -indep stuff fend for itself later.
191 build-wxbase-shared-stamp
:
193 mkdir
-p
$(objdir_wxbase_shared
)
194 cd
$(objdir_wxbase_shared
) \
195 && ..
/configure
--prefix=/usr \
196 --cache-file
=..
/config_deb.cache \
203 build-wxbase-static-stamp
:
205 mkdir
-p
$(objdir_wxbase_static
)
206 cd
$(objdir_wxbase_static
) \
207 && ..
/configure
--prefix=/usr \
208 --cache-file
=..
/config_deb.cache \
215 build-wxbase-debug-stamp
:
217 mkdir
-p
$(objdir_wxbase_debug
)
218 cd
$(objdir_wxbase_debug
) \
219 && ..
/configure
--prefix=/usr \
220 --cache-file
=..
/config_deb.cache \
228 build-gtk-shared-stamp
:
230 mkdir
-p
$(objdir_gtk_shared
)
231 cd
$(objdir_gtk_shared
) \
232 && ..
/configure
--prefix=/usr \
233 --cache-file
=..
/config_deb.cache \
244 build-gtk-static-stamp
:
246 mkdir
-p
$(objdir_gtk_static
)
247 cd
$(objdir_gtk_static
) \
248 && ..
/configure
--prefix=/usr \
249 --cache-file
=..
/config_deb.cache \
260 build-gtk-debug-stamp
:
262 mkdir
-p
$(objdir_gtk_debug
)
263 cd
$(objdir_gtk_debug
) \
264 && ..
/configure
--prefix=/usr \
265 --cache-file
=..
/config_deb.cache \
277 build-contrib-shared-stamp
: build-gtk-shared-stamp
279 cd
$(objdir_gtk_shared
)/contrib
/src \
283 build-contrib-static-stamp
: build-gtk-static-stamp
285 cd
$(objdir_gtk_static
)/contrib
/src \
289 build-gtk-py-stamp
: build-gtk-shared-stamp
293 && .
/setup.py build IN_CVS_TREE
=1 WX_CONFIG
='$(wxconfig)'
296 build-doc-stamp
: build-gtk-shared-stamp
298 cd
$(objdir_gtk_shared
)/utils
/tex2rtf
/src \
301 mkdir
$(objdir_doc_cruft
)
302 cd
$(objdir_doc_cruft
) \
303 && LD_LIBRARY_PATH
=..
/$(objdir_gtk_shared
)/lib
:$(LD_LIBRARY_PATH
) \
304 ..
/$(objdir_gtk_shared
)/utils
/tex2rtf
/src
/tex2rtf \
305 ..
/docs
/latex
/wx
/manual.
tex ..
/$(objdir_doc
)/wxwin.htm
-twice
-html
306 cp docs
/latex
/wx
/*.gif
$(objdir_doc
)
307 rm -rf
$(objdir_doc_cruft
)
308 rm -f
$(objdir_doc
)/wxwin.con
$(objdir_doc
)/wxwin.hh
* \
309 $(objdir_doc
)/wxwin.htx
$(objdir_doc
)/wxwin.ref
312 build-examples-stamp
: build-gtk-shared-stamp
314 mkdir
-p
$(objdir_examples
)
316 # copy all samples and the Makefile generated for libwxgtk.
317 cp
-a samples
$(objdir_examples
)
318 rm -f
$(objdir_examples
)/samples
/Makefile
319 cp
-a
$(objdir_gtk_shared
)/samples
/Makefile
$(objdir_examples
)/samples
321 cp
-a demos
$(objdir_examples
)
322 cp
-a wxPython
/demo
$(objdir_examples
)/wxPython
323 @for d in
$(objdir_examples
)/demos
$(objdir_examples
)/samples
; do \
325 && mv Makefile.in Makefile \
326 && rm -f configure
* \
327 && find
-name
'Makefile.in' -exec
rm -f
'{}' ';' \
328 && for f in
$$(find
-type d
); do \
329 if
[ -f
$$f/makefile.unx
]; then \
330 mv
$$f/makefile.unx
$$f/Makefile
; \
336 build-i18n-stamp
: build-gtk-shared-stamp
342 build-wxbase-msw-dev-stamp
:
344 mkdir
-p
$(objdir_wxbase_msw_static
)
345 cd
$(objdir_wxbase_msw_static
) \
346 && ..
/configure
--prefix=/usr
/$(cross_host
) \
347 --cache-file
=..
/config_deb.cache \
348 --host
=$(cross_host
) \
349 --build
=$(cross_build
) \
357 mkdir
-p
$(objdir_msw_static
)
358 cd
$(objdir_msw_static
) \
359 && ..
/configure
--prefix=/usr
/$(cross_host
) \
360 --cache-file
=..
/config_deb.cache \
361 --host
=$(cross_host
) \
362 --build
=$(cross_build
) \
369 clean: debian
/control
372 rm -rf config_deb.cache control-files-stamp
$(build_stamps
) $(objdirs
)
374 cd wxPython
&& .
/setup.py
clean
376 rm -f debian
/$(package_wxbase_lib
).
*
377 rm -f debian
/$(package_wxbase_dev
).
*
378 rm -f debian
/$(package_wxbase_dbg
).
*
379 rm -f debian
/$(package_gtk_lib
).
*
380 rm -f debian
/$(package_gtk_dev
).
*
381 rm -f debian
/$(package_gtk_dbg
).
*
382 rm -f debian
/$(package_gtk_py
).
*
383 rm -f debian
/$(package_gtk_contrib
).
*
384 rm -f debian
/$(package_gtk_contrib_dev
).
*
385 rm -f debian
/$(package_headers
).
*
386 rm -f debian
/$(package_i18n
).
*
387 rm -f debian
/$(package_doc
).
*
388 rm -f debian
/$(package_examples
).
*
389 rm -f debian
/$(package_wxbase_msw_dev
).
*
390 rm -f debian
/$(package_msw_dev
).
*
391 rm -f debian
/$(package_headers_msw
).
*
393 install_arch
: build_arch
$(install_all_arch
)
395 install: build_all
$(install_all_native
)
397 install-wxbase-lib
: DH_OPTIONS
=-p
$(package_wxbase_lib
)
398 install-wxbase-lib
: build-wxbase-shared-stamp
403 cp
-a
$(objdir_wxbase_shared
)/lib
/* debian
/$(package_wxbase_lib
)/usr
/lib
404 cp
$(objdir_wxbase_shared
)/wxbase-
$(release
)-config debian
/$(package_wxbase_lib
)/usr
/bin
/
406 install-wxbase-dev
: DH_OPTIONS
=-p
$(package_wxbase_dev
)
407 install-wxbase-dev
: build-wxbase-static-stamp install-wxbase-lib
412 dh_movefiles
--sourcedir
=debian
/$(package_wxbase_lib
)
413 cp
$(objdir_wxbase_static
)/lib
/*.a debian
/$(package_wxbase_dev
)/usr
/lib
415 install-wxbase-dbg
: DH_OPTIONS
=-p
$(package_wxbase_dbg
)
416 install-wxbase-dbg
: build-wxbase-debug-stamp
421 cp
-a
$(objdir_wxbase_debug
)/lib
/* debian
/$(package_wxbase_dbg
)/usr
/lib
422 cp
$(objdir_wxbase_debug
)/wxbased-
$(release
)-config debian
/$(package_wxbase_dbg
)/usr
/bin
/
423 cp debian
/lintian-override debian
/$(package_wxbase_dbg
)/usr
/share
/lintian
/overrides
/$(package_wxbase_dbg
)
425 install-gtk-lib
: DH_OPTIONS
=-p
$(package_gtk_lib
)
426 install-gtk-lib
: build-gtk-shared-stamp
431 cd
$(objdir_gtk_shared
) \
432 && $(MAKE
) install prefix=`pwd`/..
/debian
/$(package_gtk_lib
)/usr
433 rm -f debian
/$(package_gtk_lib
)/usr
/bin
/wx-config
435 install-gtk-dev
: DH_OPTIONS
=-p
$(package_gtk_dev
)
436 install-gtk-dev
: build-gtk-static-stamp install-gtk-lib
441 dh_movefiles
--sourcedir
=debian
/$(package_gtk_lib
)
442 cp
$(objdir_gtk_static
)/lib
/libwx_gtk
*.a debian
/$(package_gtk_dev
)/usr
/lib
444 install-gtk-dbg
: DH_OPTIONS
=-p
$(package_gtk_dbg
)
445 install-gtk-dbg
: build-gtk-debug-stamp
450 cp
-a
$(objdir_gtk_debug
)/lib
/* debian
/$(package_gtk_dbg
)/usr
/lib
451 cp
$(objdir_gtk_debug
)/wxgtkd-
$(release
)-config debian
/$(package_gtk_dbg
)/usr
/bin
/
452 cp debian
/lintian-override debian
/$(package_gtk_dbg
)/usr
/share
/lintian
/overrides
/$(package_gtk_dbg
)
454 install-gtk-contrib
: DH_OPTIONS
=-p
$(package_gtk_contrib
)
455 install-gtk-contrib
: build-contrib-shared-stamp
460 cd
$(objdir_gtk_shared
)/contrib
/src \
461 && $(MAKE
) install prefix=`pwd`/..
/..
/..
/debian
/$(package_gtk_contrib
)/usr
463 install-gtk-contrib-dev
: DH_OPTIONS
=-p
$(package_gtk_contrib_dev
)
464 install-gtk-contrib-dev
: build-contrib-static-stamp install-gtk-dev
469 dh_movefiles
--sourcedir
=debian
/$(package_gtk_contrib
)
470 cp
$(objdir_gtk_static
)/lib
/*.a debian
/$(package_gtk_contrib_dev
)/usr
/lib
471 rm -f debian
/$(package_gtk_contrib_dev
)/usr
/lib
/libwx_gtk
*.a
473 install-gtk-py
: DH_OPTIONS
=-p
$(package_gtk_py
)
474 install-gtk-py
: build-gtk-py-stamp
480 && .
/setup.py
install --prefix=`pwd`/..
/debian
/$(package_gtk_py
)/usr
481 find debian
/$(package_gtk_py
)/usr
/lib
/$(python_dir
)/site-packages
/wxPython \
482 -name
'*.py?' -exec
rm '{}' ';'
484 install-headers
: DH_OPTIONS
=-p
$(package_headers
)
485 install-headers
: install-gtk-lib
490 dh_movefiles
--sourcedir
=debian
/$(package_gtk_lib
)
499 install-i18n
: DH_OPTIONS
=-p
$(package_i18n
)
500 install-i18n
: build-i18n-stamp install-gtk-lib
505 dh_movefiles
--sourcedir
=debian
/$(package_gtk_lib
)
507 install-doc
: DH_OPTIONS
=-p
$(package_doc
)
508 install-doc
: build-doc-stamp
514 install-examples
: DH_OPTIONS
=-p
$(package_examples
)
515 install-examples
: build-examples-stamp
521 install-wxbase-msw-dev
: DH_OPTIONS
=-p
$(package_wxbase_msw_dev
)
522 install-wxbase-msw-dev
: build-wxbase-msw-dev-stamp
527 cp
-a
$(objdir_wxbase_msw_static
)/lib
/* debian
/$(package_wxbase_msw_dev
)/usr
/$(cross_host
)/lib
528 cp
$(objdir_wxbase_msw_static
)/wxbase-
$(release
)-$(cross_host
)-config debian
/$(package_wxbase_msw_dev
)/usr
/bin
/
529 $(cross_host
)-strip --strip-debug debian
/$(package_wxbase_msw_dev
)/usr
/$(cross_host
)/lib
/*.a
531 install-msw-dev
: DH_OPTIONS
=-p
$(package_msw_dev
)
532 install-msw-dev
: build-msw-dev-stamp
537 cp
-a
$(objdir_msw_static
)/lib
/* debian
/$(package_msw_dev
)/usr
/$(cross_host
)/lib
538 cp
$(objdir_msw_static
)/wxmsw-
$(release
)-$(cross_host
)-config debian
/$(package_msw_dev
)/usr
/bin
/
539 $(cross_host
)-strip --strip-debug debian
/$(package_msw_dev
)/usr
/$(cross_host
)/lib
/*.a
541 install-headers-msw
: DH_OPTIONS
=-p
$(package_headers_msw
)
547 @
# Symlink all the headers that will be installed by the main -headers
548 @
# package to where the cross compiler will expect them.
549 @for f in
`ls -1 include/wx`; do \
550 ln
-s
/usr
/include/wx
/$$f debian
/$(package_headers_msw
)/usr
/$(cross_host
)/include/wx
; \
551 echo
"linking header /usr/include/wx/$$f"; \
553 @
# But install this lot for real.
554 rm -f debian
/$(package_headers_msw
)/usr
/$(cross_host
)/include/wx
/msw
555 cp
-a
include/wx
/msw debian
/$(package_headers_msw
)/usr
/$(cross_host
)/include/wx
556 @
# and remove this cruft(?)
557 rm -f debian
/$(package_headers_msw
)/usr
/$(cross_host
)/include/wx
/treelay.h
568 @
# Don't strip debug libs at all, and strip cross libs elsewhere
569 @
# with the cross host tools until dh_strip gets smarter.
570 dh_strip
-N
$(package_gtk_dbg
) -N
$(package_wxbase_dbg
) -N
$(package_wxbase_msw_dev
) -N
$(package_msw_dev
)
574 dh_makeshlibs
-N
$(package_gtk_py
) -V
576 dh_shlibdeps
-ldebian
/$(package_gtk_lib
)/usr
/lib
581 # Build architecture-independent files here.
582 # Note that you currently can't build the indep packages without first
583 # building the arch specific package files needed to create them.
584 binary-indep
: build_all
install
585 $(MAKE
) -f debian
/rules \
586 DH_OPTIONS
="-i -N$(package_wxbase_msw_dev) -N$(package_msw_dev) -N$(package_headers_msw)" \
589 # Build just the architecture-dependent files here.
590 binary-arch
: build_arch install_arch
591 $(MAKE
) -f debian
/rules \
592 DH_OPTIONS
="-a -N$(package_wxbase_msw_dev) -N$(package_msw_dev) -N$(package_headers_msw)" \
595 # Build all packages target.
596 binary
: binary-arch binary-indep
598 # This is a special target for building the wxMSW-cross packages.
599 # It's not currently called during the official package build run
600 # but may be run separately to build the extra packages.
601 # There is an implied build dep on the mingw32 cross compiler
602 # that is not in the control file.
603 binary-cross
: control-files-stamp
$(install_all_cross
)
604 $(MAKE
) -f debian
/rules \
605 DH_OPTIONS
="-p$(package_wxbase_msw_dev) -p$(package_msw_dev) -p$(package_headers_msw)" \
609 ############################################################################
611 # Some rules to build a subset of the complete list of packages that can be
612 # built from CVS. Beware that packages produced with these rules may *NOT*
613 # be compatible with packages built using the 'binary' target or even with
614 # Debian policy. Do not distribute packages built with these rules, they
615 # are currently useful for rapid in-house testing by developers only.
617 # libwxgtk shared lib package
618 binary-gtk
: control-files-stamp install-gtk-lib install-headers
619 $(MAKE
) -f debian
/rules DH_OPTIONS
="-p$(package_gtk_lib) -p$(package_headers)" binary-common
621 binary-gtk-dev
: control-files-stamp install-gtk-dev install-headers
622 $(MAKE
) -f debian
/rules \
623 DH_OPTIONS
="-p$(package_gtk_lib) -p$(package_gtk_dev) -p$(package_headers)" \
626 binary-gtk-dbg
: control-files-stamp install-gtk-dbg install-headers
627 $(MAKE
) -f debian
/rules DH_OPTIONS
="-p$(package_gtk_dbg) -p$(package_headers)" binary-common
629 # libwxbase shared lib package
630 binary-wxbase
: control-files-stamp install-wxbase-lib install-headers
631 $(MAKE
) -f debian
/rules DH_OPTIONS
="-p$(package_wxbase_lib) -p$(package_headers)" binary-common
633 binary-wxbase-dev
: control-files-stamp install-wxbase-dev install-headers
634 $(MAKE
) -f debian
/rules \
635 DH_OPTIONS
="-p$(package_wxbase_lib) -p$(package_wxbase_dev) -p$(package_headers)" \
638 binary-wxbase-dbg
: control-files-stamp install-wxbase-dbg install-headers
639 $(MAKE
) -f debian
/rules DH_OPTIONS
="-p$(package_wxbase_dbg) -p$(package_headers)" binary-common
642 binary-doc
: control-files-stamp install-doc
643 $(MAKE
) -f debian
/rules DH_OPTIONS
=-p
$(package_doc
) binary-common
646 .PHONY
: build build_all build_arch
clean binary-indep binary-arch binary binary-common \
647 binary-gtk binary-gtk-dev binary-gtk-dbg binary-wxbase binary-wxbase-dev \
648 binary-wxbase-dbg binary-doc binary-cross \
649 install install_arch install-wxbase-lib \
650 install-wxbase-dev install-wxbase-dbg install-gtk-lib install-gtk-dev \
651 install-gtk-dbg install-gtk-contrib install-gtk-contrib-dev \
652 install-gtk-py install-headers install-i18n install-doc install-examples \
653 install-wxbase-msw-dev install-msw-dev install-headers-msw