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