2 # debian/rules file to build packages from wx 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.
12 release
:= $(shell dpkg-parsechangelog | sed
-n
's/^Source: wxwidgets//p')
13 python_ver
:= python
$(shell python
-c
"import sys;print sys.version[:3]")
15 cross_host
= i586-mingw32msvc
16 cross_build
= $(shell .
/config.guess
)
18 config_cache
= ..
/config_deb.cache
19 config_cache_cross
= ..
/config_deb_cross.cache
22 package_gtk_lib
= libwxgtk
$(release
)
23 package_gtk_dev
= libwxgtk
$(release
)-dev
24 package_gtk_dbg
= libwxgtk
$(release
)-dbg
25 package_gtk_py
= libwxgtk
$(release
)-python
26 package_gtk_contrib
= libwxgtk
$(release
)-contrib
27 package_gtk_contrib_dev
= libwxgtk
$(release
)-contrib-dev
28 package_headers
= wx
$(release
)-headers
29 package_i18n
= wx
$(release
)-i18n
30 package_doc
= wx
$(release
)-doc
31 package_examples
= wx
$(release
)-examples
33 package_msw_dev
= libwxmsw
$(release
)-dev
34 package_msw_dbg
= libwxmsw
$(release
)-dbg
35 package_headers_msw
= wx
$(release
)-headers-msw
38 objdir_gtk_shared
= objs_gtk_sh
39 objdir_gtk_static
= objs_gtk_st
40 objdir_gtk_debug
= objs_gtk_d
41 objdir_gtk_install
= objs_gtk_install
42 objdir_gtk_contrib_install
= objs_gtk_contrib_install
43 objdir_doc_cruft
= objs_doc_con
44 objdir_doc
= docs
/wx-manual.html
45 objdir_examples
= docs
/examples
48 objdir_msw_shared
= objs_msw_sh
49 objdir_msw_static
= objs_msw_st
50 objdir_msw_dbg
= objs_msw_d
52 objdirs
= $(objdir_gtk_shared
) $(objdir_gtk_static
) $(objdir_gtk_debug
) \
53 $(objdir_gtk_install
) $(objdir_gtk_contrib_install
) \
54 $(objdir_doc_cruft
) $(objdir_doc
) $(objdir_examples
) \
55 $(objdir_msw_shared
) $(objdir_msw_static
) $(objdir_msw_dbg
)
57 # note that the i18n package is actually arch indep (once built)
58 # but must be built (and installed) during the arch any phase as
59 # it's pulled out of the wxGTK shared lib package.
63 build_arch_stamps
= build-gtk-shared-stamp build-gtk-static-stamp \
64 build-gtk-debug-stamp \
65 build-contrib-shared-stamp build-contrib-static-stamp \
66 build-i18n-stamp build-gtk-py-stamp
69 build_indep_stamps
= build-examples-stamp build-doc-stamp
71 build_cross_stamps
= build-msw-shared-stamp build-msw-static-stamp build-msw-dbg-stamp
73 build_stamps_native
= $(build_arch_stamps
) $(build_indep_stamps
)
75 build_stamps
= $(build_stamps_native
) $(build_cross_stamps
)
79 install_all_arch
= install-gtk-lib install-gtk-dev install-gtk-dbg \
80 install-gtk-contrib install-gtk-contrib-dev \
81 install-headers install-i18n install-gtk-py
83 install_all_indep
= install-examples install-doc
85 install_all_cross
= install-msw-dev install-msw-dbg 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
)
96 contrib_libs
:= $(subst CVS
,,$(notdir $(wildcard contrib
/include/wx
/*)))
101 debian
/control
: debian
/control.in
102 sed
-e
's/=V/$(release)/g;s/=PY/$(python_ver)/g' < debian
/control.in
> debian
/control
104 control-files-stamp
: debian
/control
106 @for f in links postinst prerm
; do \
107 echo
"generating control file $(package_gtk_dev).$$f"; \
108 sed
-e
's/=V/$(release)/g' < debian
/libwxgtk-dev.
$$f \
109 > debian
/$(package_gtk_dev
).
$$f; \
111 @for f in links postinst prerm
; do \
112 echo
"generating control file $(package_gtk_dbg).$$f"; \
113 sed
-e
's/=V/$(release)/g' < debian
/libwxgtk-dbg.
$$f \
114 > debian
/$(package_gtk_dbg
).
$$f; \
116 @for f in dirs docs menu postinst prerm
; do \
117 echo
"generating control file $(package_gtk_py).$$f"; \
118 sed
-e
's/=PY/$(python_ver)/g;s/=V/$(release)/g' \
119 < debian
/libwxgtk-python.
$$f \
120 > debian
/$(package_gtk_py
).
$$f; \
122 @for f in docs doc-base
; do \
123 echo
"generating control file $(package_doc).$$f"; \
124 sed
-e
's/=V/$(release)/g' < debian
/wx-doc.
$$f \
125 > debian
/$(package_doc
).
$$f; \
127 @for f in examples
; do \
128 echo
"generating control file $(package_examples).$$f"; \
129 cp debian
/wx-examples.
$$f debian
/$(package_examples
).
$$f; \
131 @for f in dirs links postinst prerm
; do \
132 echo
"generating control file $(package_msw_dev).$$f"; \
133 sed
-e
's/=V/$(release)/g;s/=H/$(cross_host)/g' < debian
/libwxmsw-dev.
$$f \
134 > debian
/$(package_msw_dev
).
$$f; \
136 @for f in dirs links postinst prerm
; do \
137 echo
"generating control file $(package_msw_dbg).$$f"; \
138 sed
-e
's/=V/$(release)/g;s/=H/$(cross_host)/g' < debian
/libwxmsw-dbg.
$$f \
139 > debian
/$(package_msw_dbg
).
$$f; \
142 echo
"generating control file $(package_headers_msw).$$f"; \
143 sed
-e
's/=H/$(cross_host)/g' < debian
/wx-headers-msw.
$$f \
144 > debian
/$(package_headers_msw
).
$$f; \
148 build_arch
: control-files-stamp
$(build_arch_stamps
)
149 build_all
: control-files-stamp
$(build_stamps_native
)
151 # Really we should probably do nothing here until we know which
152 # binary target is being called, but alpha builds were exploding
153 # (compiler segfaults) in random places when building under fakeroot
154 # from the binary-arch target. Build all -arch files here then, and
155 # let the -indep stuff fend for itself later.
160 configure-gtk-shared-stamp
:
162 mkdir
-p
$(objdir_gtk_shared
)
163 cd
$(objdir_gtk_shared
) \
164 && ..
/configure
--prefix=/usr \
165 --cache-file
=$(config_cache
) \
175 --enable-dynamic-loader \
176 --enable-std_iostreams
179 build-gtk-shared-stamp
: configure-gtk-shared-stamp
181 cd
$(objdir_gtk_shared
) && $(MAKE
)
184 configure-gtk-static-stamp
:
186 mkdir
-p
$(objdir_gtk_static
)
187 cd
$(objdir_gtk_static
) \
188 && ..
/configure
--prefix=/usr \
189 --cache-file
=$(config_cache
) \
199 --enable-dynamic-loader \
200 --enable-std_iostreams
203 build-gtk-static-stamp
: configure-gtk-static-stamp
205 cd
$(objdir_gtk_static
) && $(MAKE
)
208 configure-gtk-debug-stamp
:
210 mkdir
-p
$(objdir_gtk_debug
)
211 cd
$(objdir_gtk_debug
) \
212 && ..
/configure
--prefix=/usr \
213 --cache-file
=$(config_cache
) \
224 --enable-dynamic-loader \
225 --enable-std_iostreams
228 build-gtk-debug-stamp
: configure-gtk-debug-stamp
230 cd
$(objdir_gtk_debug
) && $(MAKE
)
234 build-contrib-shared-stamp
: build-gtk-shared-stamp
236 cd
$(objdir_gtk_shared
)/contrib
/src
&& $(MAKE
)
239 build-contrib-static-stamp
: build-gtk-static-stamp
241 cd
$(objdir_gtk_static
)/contrib
/src
&& $(MAKE
)
244 build-gtk-py-stamp
: build-gtk-shared-stamp
247 cd wxPython
/include/wx \
248 && for f in
$(contrib_libs
); do \
250 ln
-s ..
/..
/..
/contrib
/include/wx
/$$f .
; \
253 && $(python_ver
) .
/setup.py build \
254 WX_CONFIG
='$(wxconfig)' \
257 cd wxPython
/include/wx \
258 && for f in
$(contrib_libs
); do
$(RM
) $$f; done
262 build-doc-stamp
: build-gtk-shared-stamp
264 cd
$(objdir_gtk_shared
)/utils
/tex2rtf
/src \
267 rm -rf
$(objdir_doc_cruft
)
269 mkdir
$(objdir_doc_cruft
)
270 cd
$(objdir_doc_cruft
) \
271 && LD_LIBRARY_PATH
=..
/$(objdir_gtk_shared
)/lib
:$(LD_LIBRARY_PATH
) \
272 ..
/$(objdir_gtk_shared
)/utils
/tex2rtf
/src
/tex2rtf \
273 ..
/docs
/latex
/wx
/manual.
tex ..
/$(objdir_doc
)/wxwin.htm
-twice
-html
274 cp docs
/latex
/wx
/*.gif
$(objdir_doc
)
275 rm -rf
$(objdir_doc_cruft
)
276 rm -f
$(objdir_doc
)/wxwin.con
$(objdir_doc
)/wxwin.hh
* \
277 $(objdir_doc
)/wxwin.htx
$(objdir_doc
)/wxwin.ref
280 build-examples-stamp
: build-gtk-shared-stamp
282 mkdir
-p
$(objdir_examples
)
284 # copy all samples and the Makefile generated for libwxgtk.
285 cp
-a samples
$(objdir_examples
)
286 rm -f
$(objdir_examples
)/samples
/Makefile
287 cp
-a
$(objdir_gtk_shared
)/samples
/Makefile
$(objdir_examples
)/samples
289 cd
$(objdir_examples
)/samples \
290 && find
-name
'Makefile.in' -exec
rm -f
'{}' ';' \
291 && for d in
$$(find
-type d
); do \
292 if
[ -f
$$d/makefile.unx
]; then \
293 mv
$$d/makefile.unx
$$d/Makefile
; \
297 cp
-a wxPython
/demo
$(objdir_examples
)/wxPython
301 build-i18n-stamp
: build-gtk-shared-stamp
304 # touch .po files first, since if they are not already up
305 # to date then _now_ is not the time to fix it.
306 # That should have been been done before cvs was tagged.
313 configure-msw-shared-stamp
:
315 mkdir
-p
$(objdir_msw_shared
)
316 cd
$(objdir_msw_shared
) \
317 && ..
/configure
--prefix=/usr
/$(cross_host
) \
318 --cache-file
=$(config_cache_cross
) \
319 --host
=$(cross_host
) \
320 --build
=$(cross_build
)
323 build-msw-shared-stamp
: configure-msw-shared-stamp
325 cd
$(objdir_msw_shared
) && $(MAKE
)
328 configure-msw-static-stamp
:
330 mkdir
-p
$(objdir_msw_static
)
331 cd
$(objdir_msw_static
) \
332 && ..
/configure
--prefix=/usr
/$(cross_host
) \
333 --cache-file
=$(config_cache_cross
) \
334 --host
=$(cross_host
) \
335 --build
=$(cross_build
) \
339 build-msw-static-stamp
: configure-msw-static-stamp
341 cd
$(objdir_msw_static
) && $(MAKE
)
344 configure-msw-dbg-stamp
:
346 mkdir
-p
$(objdir_msw_dbg
)
347 cd
$(objdir_msw_dbg
) \
348 && ..
/configure
--prefix=/usr
/$(cross_host
) \
349 --cache-file
=$(config_cache_cross
) \
350 --host
=$(cross_host
) \
351 --build
=$(cross_build
) \
355 build-msw-dbg-stamp
: configure-msw-dbg-stamp
357 cd
$(objdir_msw_dbg
) && $(MAKE
)
361 clean: debian
/control
365 rm -rf config_deb.cache config_deb_cross.cache
*-stamp
$(objdirs
)
367 rm -f docs
/latex
/wx
/manual.bb
368 rm -f
$(objdir_i18n
)/*.mo
373 && rm -rf contrib
/gizmos
/contrib \
374 && rm -rf contrib
/ogl
/contrib \
375 && rm -rf contrib
/stc
/contrib \
376 && rm -rf contrib
/xrc
/contrib \
379 cd wxPython
/include/wx \
380 && for f in
$(contrib_libs
); do
$(RM
) $$f; done
382 # We do the equivalent of this above by removing build, unfortunately
383 # its not enough by itself to get the tree properly clean again.
384 # && ./setup.py clean
387 rm -f debian
/$(package_gtk_lib
).
*
388 rm -f debian
/$(package_gtk_dev
).
*
389 rm -f debian
/$(package_gtk_dbg
).
*
390 rm -f debian
/$(package_gtk_py
).
*
391 rm -f debian
/$(package_gtk_contrib
).
*
392 rm -f debian
/$(package_gtk_contrib_dev
).
*
393 rm -f debian
/$(package_headers
).
*
394 rm -f debian
/$(package_i18n
).
*
395 rm -f debian
/$(package_doc
).
*
396 rm -f debian
/$(package_examples
).
*
397 rm -f debian
/$(package_msw_dev
).
*
398 rm -f debian
/$(package_msw_dbg
).
*
399 rm -f debian
/$(package_headers_msw
).
*
401 install_arch
: build_arch
$(install_all_arch
)
403 install: build_all
$(install_all_native
)
405 install-gtk-shared-stamp
:
407 mkdir
-p
$(objdir_gtk_install
)
408 cd
$(objdir_gtk_shared
) \
409 && $(MAKE
) install prefix=`pwd`/..
/$(objdir_gtk_install
)
412 install-gtk-lib
: DH_OPTIONS
=-p
$(package_gtk_lib
)
413 install-gtk-lib
: build-gtk-shared-stamp install-gtk-shared-stamp
418 dh_install
$(objdir_gtk_install
)/share
/wx usr
/share
419 dh_install
$(objdir_gtk_install
)/lib
/*.so.
* usr
/lib
421 install-gtk-dev
: DH_OPTIONS
=-p
$(package_gtk_dev
)
422 install-gtk-dev
: build-gtk-static-stamp install-gtk-shared-stamp
427 dh_install
$(objdir_gtk_install
)/bin
/wxgtk2u-
$(release
)-config usr
/bin
428 dh_install
$(objdir_gtk_install
)/lib
/{wx
,*.so
} usr
/lib
429 dh_install
$(objdir_gtk_static
)/lib
/libwx_gtk2u
{-,_gl
}*.a usr
/lib
431 install-gtk-dbg
: DH_OPTIONS
=-p
$(package_gtk_dbg
)
432 install-gtk-dbg
: build-gtk-debug-stamp
436 dh_installdirs usr
/share
/lintian
/overrides
437 dh_install
$(objdir_gtk_debug
)/wxgtk2ud-
$(release
)-config usr
/bin
438 dh_install
$(objdir_gtk_debug
)/lib usr
439 cp debian
/lintian-override debian
/$(package_gtk_dbg
)/usr
/share
/lintian
/overrides
/$(package_gtk_dbg
)
442 install-gtk-contrib-stamp
:
444 mkdir
-p
$(objdir_gtk_contrib_install
)/lib
445 cd
$(objdir_gtk_shared
)/contrib
/src \
446 && $(MAKE
) install prefix=`pwd`/..
/..
/..
/$(objdir_gtk_contrib_install
)
449 install-gtk-contrib
: DH_OPTIONS
=-p
$(package_gtk_contrib
)
450 install-gtk-contrib
: build-contrib-shared-stamp install-gtk-contrib-stamp
455 dh_install
$(objdir_gtk_contrib_install
)/lib
/*.so.
* usr
/lib
457 install-gtk-contrib-dev
: DH_OPTIONS
=-p
$(package_gtk_contrib_dev
)
458 install-gtk-contrib-dev
: build-contrib-static-stamp install-gtk-contrib-stamp
463 dh_install
$(objdir_gtk_contrib_install
)/include usr
464 dh_install
$(objdir_gtk_contrib_install
)/lib
/*.so usr
/lib
465 dh_install
-Xlibwx_gtk2u-
-Xlibwx_gtk2u_gl- \
466 $(objdir_gtk_static
)/lib
/*.a usr
/lib
468 install-gtk-py
: DH_OPTIONS
=-p
$(package_gtk_py
)
469 install-gtk-py
: build-gtk-py-stamp
475 && $(python_ver
) .
/setup.py
install \
476 --prefix=`pwd`/..
/debian
/$(package_gtk_py
)/usr \
477 WX_CONFIG
='$(wxconfig)' \
481 find debian
/$(package_gtk_py
)/usr
/lib
/$(python_ver
)/site-packages
/wxPython \
482 -name
'*.py?' -exec
rm '{}' ';'
484 dh_installman debian
/wxPython-tools
.1
485 dh_link usr
/share
/man
/man1
/wxPython-tools
.1 usr
/share
/man
/man1
/img2py
.1 \
486 usr
/share
/man
/man1
/wxPython-tools
.1 usr
/share
/man
/man1
/img2xpm
.1 \
487 usr
/share
/man
/man1
/wxPython-tools
.1 usr
/share
/man
/man1
/img2png
.1 \
488 usr
/share
/man
/man1
/wxPython-tools
.1 usr
/share
/man
/man1
/pycrust
.1 \
489 usr
/share
/man
/man1
/wxPython-tools
.1 usr
/share
/man
/man1
/pyshell
.1 \
490 usr
/share
/man
/man1
/wxPython-tools
.1 usr
/share
/man
/man1
/xrced
.1 \
491 usr
/share
/man
/man1
/wxPython-tools
.1 usr
/share
/man
/man1
/helpviewer
.1 \
492 usr
/share
/man
/man1
/wxPython-tools
.1 usr
/share
/man
/man1
/pyalacarte
.1 \
493 usr
/share
/man
/man1
/wxPython-tools
.1 usr
/share
/man
/man1
/pyalamode
.1 \
494 usr
/share
/man
/man1
/wxPython-tools
.1 usr
/share
/man
/man1
/pywrap
.1
496 # This is rather bogus, its included in the main copyright file now though.
497 rm -f debian
/$(package_gtk_py
)/usr
/lib
/$(python_ver
)/site-packages
/wx
/tools
/XRCed
/license.txt
499 install-headers
: DH_OPTIONS
=-p
$(package_headers
)
500 install-headers
: install-gtk-shared-stamp
506 # The only way to be really sure we get the univ headers correct is to install
507 # them. Do that in a scratch dirs, and move the gtk ones last, so at least
508 # they win in the result of any uncaught conflict.
510 # cd $(objdir_gtk_univ) \
511 # && $(MAKE) install prefix=`pwd`/../$(objdir_univ_install)/usr
513 # dh_movefiles --sourcedir=$(objdir_univ_install)
514 dh_install
$(objdir_gtk_install
)/include usr
515 dh_install
$(objdir_gtk_install
)/share
/aclocal usr
/share
517 dh_installman debian
/wx-config
.1
519 install-i18n
: DH_OPTIONS
=-p
$(package_i18n
)
520 install-i18n
: build-i18n-stamp install-gtk-shared-stamp
525 dh_install
$(objdir_gtk_install
)/share
/locale usr
/share
527 install-doc
: DH_OPTIONS
=-p
$(package_doc
)
528 install-doc
: build-doc-stamp
534 install-examples
: DH_OPTIONS
=-p
$(package_examples
)
535 install-examples
: build-examples-stamp
542 install-msw-dev
: DH_OPTIONS
=-p
$(package_msw_dev
)
543 install-msw-dev
: build-msw-shared-stamp build-msw-static-stamp
548 cp
-a
$(objdir_msw_shared
)/lib
/* debian
/$(package_msw_dev
)/usr
/$(cross_host
)/lib
549 cp
-a
$(objdir_msw_static
)/lib
/*.a debian
/$(package_msw_dev
)/usr
/$(cross_host
)/lib
550 cp
$(objdir_msw_shared
)/wxmsw-
$(release
)-$(cross_host
)-config debian
/$(package_msw_dev
)/usr
/bin
/
551 $(cross_host
)-strip --strip-debug debian
/$(package_msw_dev
)/usr
/$(cross_host
)/lib
/*.a
553 install-msw-dbg
: DH_OPTIONS
=-p
$(package_msw_dbg
)
554 install-msw-dbg
: build-msw-dbg-stamp
559 cp
-a
$(objdir_msw_dbg
)/lib
/* debian
/$(package_msw_dbg
)/usr
/$(cross_host
)/lib
560 cp
$(objdir_msw_dbg
)/wxmswd-
$(release
)-$(cross_host
)-config debian
/$(package_msw_dbg
)/usr
/bin
/
561 # No static lib, they're freakin' huge!
562 #$(cross_host)-strip --strip-debug debian/$(package_msw_dbg)/usr/$(cross_host)/lib/*.a
564 install-headers-msw
: DH_OPTIONS
=-p
$(package_headers_msw
)
570 @
# Symlink all the headers that will be installed by the main -headers
571 @
# package to where the cross compiler will expect them.
572 @for f in
`ls -1 include/wx`; do \
573 ln
-s
/usr
/include/wx
/$$f debian
/$(package_headers_msw
)/usr
/$(cross_host
)/include/wx
; \
574 echo
"linking header /usr/include/wx/$$f"; \
576 @
# But install this lot for real.
577 rm -f debian
/$(package_headers_msw
)/usr
/$(cross_host
)/include/wx
/msw
578 cp
-a
include/wx
/msw debian
/$(package_headers_msw
)/usr
/$(cross_host
)/include/wx
579 @
# and remove this cruft(?)
580 rm -f debian
/$(package_headers_msw
)/usr
/$(cross_host
)/include/wx
/treelay.h
592 @
# Don't strip debug libs at all, and strip cross libs elsewhere
593 @
# with the cross host tools until dh_strip gets smarter.
594 dh_strip
-N
$(package_gtk_dbg
) -N
$(package_msw_dev
) -N
$(package_msw_dbg
)
598 dh_makeshlibs
-N
$(package_gtk_py
) -V
600 dh_shlibdeps
-ldebian
/$(package_gtk_lib
)/usr
/lib
:debian
/$(package_gtk_dbg
)/usr
/lib
:debian
/$(package_gtk_contrib
)/usr
/lib
605 # Build architecture-independent files here.
606 # Note that you currently can't build the indep packages without first
607 # building the arch specific package files needed to create them.
608 binary-indep
: build_all
install
609 $(MAKE
) -f debian
/rules \
610 DH_OPTIONS
="-i -N$(package_msw_dev) -N$(package_msw_dbg) -N$(package_headers_msw)" \
613 # Build just the architecture-dependent files here.
614 binary-arch
: build_arch install_arch
615 $(MAKE
) -f debian
/rules \
616 DH_OPTIONS
="-a -N$(package_msw_dev) -N$(package_msw_dbg) -N$(package_headers_msw)" \
619 # Build all packages target.
620 binary
: binary-arch binary-indep
622 # This is a special target for building the wxMSW-cross packages.
623 # It's not currently called during the official package build run
624 # but may be run separately to build the extra packages.
625 # There is an implied build dep on the mingw32 cross compiler
626 # that is not in the control file.
627 binary-cross
: control-files-stamp
$(install_all_cross
)
628 $(MAKE
) -f debian
/rules \
629 DH_OPTIONS
="-p$(package_msw_dev) -p$(package_msw_dbg) -p$(package_headers_msw)" \
633 ############################################################################
635 # Some rules to build a subset of the complete list of packages that can be
636 # built from CVS. Beware that packages produced with these rules may *NOT*
637 # be compatible with packages built using the 'binary' target or even with
638 # Debian policy. Do not distribute packages built with these rules, they
639 # are currently useful for rapid in-house testing by developers only.
641 # libwxgtk shared lib package
642 binary-gtk
: control-files-stamp install-gtk-lib install-headers
643 $(MAKE
) -f debian
/rules DH_OPTIONS
="-p$(package_gtk_lib) -p$(package_headers)" binary-common
645 binary-gtk-dev
: control-files-stamp install-gtk-dev install-headers
646 $(MAKE
) -f debian
/rules \
647 DH_OPTIONS
="-p$(package_gtk_lib) -p$(package_gtk_dev) -p$(package_headers)" \
650 binary-gtk-dbg
: control-files-stamp install-gtk-dbg install-headers
651 $(MAKE
) -f debian
/rules DH_OPTIONS
="-p$(package_gtk_dbg) -p$(package_headers)" binary-common
655 binary-doc
: control-files-stamp install-doc
656 $(MAKE
) -f debian
/rules DH_OPTIONS
=-p
$(package_doc
) binary-common
658 binary-fast
:control-files-stamp install-gtk-dbg install-msw-dev install-headers install-headers-msw
659 $(MAKE
) -f debian
/rules DH_OPTIONS
="-p$(package_gtk_dbg) -p$(package_msw_dev) -p$(package_headers) -p$(package_headers_msw)" binary-common
662 .PHONY
: build build_all build_arch
clean binary-indep binary-arch binary binary-common \
663 binary-gtk binary-gtk-dev binary-gtk-dbg binary-doc binary-cross \
664 install install_arch install-gtk-lib install-gtk-dev \
665 install-gtk-dbg install-gtk-contrib install-gtk-contrib-dev \
666 install-gtk-py install-headers install-i18n install-doc install-examples \
667 install-msw-dev install-msw-dbg install-headers-msw