+control-files-stamp: debian/control
+ dh_testdir
+ @for f in postinst prerm; do \
+ echo "generating control file $(package_wxbase_dev).$$f"; \
+ sed -e 's/=V/$(release)/g; '\
+' s/=PRIO/$(alt_prio)/g' \
+ < debian/libwxbase-dev.$$f \
+ > debian/$(package_wxbase_dev).$$f; \
+ done;
+ @for f in postinst prerm; do \
+ echo "generating control file $(package_wxbase_dbg).$$f"; \
+ sed -e 's/=V/$(release)/g; '\
+' s/=PRIO/$(alt_prio)/g' \
+ < debian/libwxbase-dbg.$$f \
+ > debian/$(package_wxbase_dbg).$$f; \
+ done;
+ @for f in postinst prerm; do \
+ echo "generating control file $(package_gtk_dev).$$f"; \
+ sed -e 's/=V/$(release)/g; '\
+' s/=PRIO/$(alt_prio)/g' \
+ < debian/libwxgtk-dev.$$f \
+ > debian/$(package_gtk_dev).$$f; \
+ done;
+ @for f in postinst prerm; do \
+ echo "generating control file $(package_gtk_dbg).$$f"; \
+ sed -e 's/=V/$(release)/g; '\
+' s/=PRIO/$(alt_prio)/g' \
+ < debian/libwxgtk-dbg.$$f \
+ > debian/$(package_gtk_dbg).$$f; \
+ done;
+ @for f in docs postinst prerm; do \
+ echo "generating control file $(package_gtk_py_lib).$$f"; \
+ sed -e 's/=PY/$(python_ver)/g; '\
+' s|=WXPYDIR|$(wxpydir)|g; '\
+' s/=V/$(release)/g; '\
+' s/=PRIO/$(alt_prio)/g' \
+ < debian/python-wxgtk.$$f \
+ > debian/$(package_gtk_py_lib).$$f; \
+ done;
+ @for f in postinst prerm; do \
+ echo "generating control file $(package_gtk_dbg_py).$$f"; \
+ sed -e 's/=PY/$(python_ver)/g; '\
+' s/=V/$(release)/g; '\
+' s/=PRIO/$(alt_prio)/g' \
+ < debian/python-wxgtk-dbg.$$f \
+ > debian/$(package_gtk_dbg_py).$$f; \
+ done;
+ @echo "generating control file $(package_gtk_dbg_py).docs";
+ @cp debian/python-wxgtk.docs debian/$(package_gtk_dbg_py).docs;
+ @for f in docs doc-base; do \
+ echo "generating control file $(package_doc).$$f"; \
+ sed -e 's/=V/$(release)/g' < debian/wx-doc.$$f \
+ > debian/$(package_doc).$$f; \
+ done;
+ @for f in examples; do \
+ echo "generating control file $(package_examples).$$f"; \
+ cp debian/wx-examples.$$f debian/$(package_examples).$$f; \
+ done;
+ @for f in postinst prerm; do \
+ echo "generating control file $(package_msw_dev).$$f"; \
+ sed -e 's/=V/$(release)/g; '\
+' s/=H/$(cross_host)/g; '\
+' s/=PRIO/$(alt_prio)/g' \
+ < debian/libwxmsw-dev.$$f \
+ > debian/$(package_msw_dev).$$f; \
+ done;
+ @for f in postinst prerm; do \
+ echo "generating control file $(package_msw_dbg).$$f"; \
+ sed -e 's/=V/$(release)/g; '\
+' s/=H/$(cross_host)/g; '\
+' s/=PRIO/$(alt_prio)/g' \
+ < debian/libwxmsw-dbg.$$f \
+ > debian/$(package_msw_dbg).$$f; \
+ done;
+# @echo "generating control file $(package_common).menu"; \
+# sed -e 's/=V/$(release)/g' < debian/wx-common.menu \
+# > debian/$(package_common).menu;
+ @echo "generating control file lintian-override"; \
+ sed -e 's/=V/$(release)/g; '\
+' s/=SOV/$(sorelease)/g' \
+ < debian/lintian-override.in \
+ > debian/lintian-override; \
+ touch $@
+
+build_arch: control-files-stamp $(build_arch_stamps)
+build_all: control-files-stamp $(build_stamps_native)
+
+# Really we should probably do nothing here until we know which
+# binary target is being called, but alpha builds were exploding
+# (compiler segfaults) in random places when building under fakeroot
+# from the binary-arch target. Build all -arch files here then, and
+# let the -indep stuff fend for itself later.
+
+build: build_arch
+
+
+# The wx2.6 build system makes us run around in circles to get a separate
+# libwxbase. We need to configure it here in order to get the correct
+# config files to use it alone, but there is no point building it as the
+# wxgtk build is going to do that again anyway. We'll move the relevant
+# files out when that is done.
+
+configure-wxbase-shared-stamp:
+ dh_testdir
+ mkdir -p $(objdir_wxbase_shared)
+ cd $(objdir_wxbase_shared) \
+ && ../configure $(BASE_CONFIGURE_OPTIONS)
+ touch $@
+
+build-wxbase-shared-stamp: configure-wxbase-shared-stamp
+ dh_testdir
+ # Nothing to build here, move along...
+ #cd $(objdir_wxbase_shared) && $(FAST_MAKE)
+ touch $@
+
+configure-wxbase-debug-stamp:
+ dh_testdir
+ mkdir -p $(objdir_wxbase_debug)
+ cd $(objdir_wxbase_debug) \
+ && ../configure $(BASE_CONFIGURE_OPTIONS) --enable-debug
+ touch $@
+
+build-wxbase-debug-stamp: configure-wxbase-debug-stamp
+ dh_testdir
+ # Nothing to build here, move along...
+ #cd $(objdir_wxbase_debug) && $(FAST_MAKE)
+ touch $@