+control-files-stamp: debian/control
+ dh_testdir
+ @for f in dirs postinst; do \
+ echo "generating control file $(package_wxbase_lib).$$f"; \
+ cp debian/libwxbase.$$f debian/$(package_wxbase_lib).$$f; \
+ done;
+ @for f in dirs links postinst prerm; do \
+ echo "generating control file $(package_wxbase_dev).$$f"; \
+ sed -e 's/=V/$(release)/g' < debian/libwxbase-dev.$$f \
+ > debian/$(package_wxbase_dev).$$f; \
+ done;
+ @for f in dirs links postinst prerm; do \
+ echo "generating control file $(package_wxbase_dbg).$$f"; \
+ sed -e 's/=V/$(release)/g' < debian/libwxbase-dbg.$$f \
+ > debian/$(package_wxbase_dbg).$$f; \
+ done;
+ @for f in dirs postinst; do \
+ echo "generating control file $(package_gtk_lib).$$f"; \
+ cp debian/libwxgtk.$$f debian/$(package_gtk_lib).$$f; \
+ done;
+ @for f in dirs links postinst prerm; do \
+ echo "generating control file $(package_gtk_dev).$$f"; \
+ sed -e 's/=V/$(release)/g' < debian/libwxgtk-dev.$$f \
+ > debian/$(package_gtk_dev).$$f; \
+ done;
+ @for f in dirs links postinst prerm; do \
+ echo "generating control file $(package_gtk_dbg).$$f"; \
+ sed -e 's/=V/$(release)/g' < debian/libwxgtk-dbg.$$f \
+ > debian/$(package_gtk_dbg).$$f; \
+ done;
+ @for f in dirs docs menu postinst prerm; do \
+ echo "generating control file $(package_gtk_py).$$f"; \
+ sed -e 's/=PY/$(python_dir)/g;s/=V/$(release)/g' < debian/libwxgtk-python.$$f \
+ > debian/$(package_gtk_py).$$f; \
+ done;
+ @for f in dirs postinst; do \
+ echo "generating control file $(package_gtk_contrib).$$f"; \
+ cp debian/libwxgtk-contrib.$$f debian/$(package_gtk_contrib).$$f; \
+ done;
+ @for f in dirs; do \
+ echo "generating control file $(package_gtk_contrib_dev).$$f"; \
+ cp debian/libwxgtk-contrib-dev.$$f debian/$(package_gtk_contrib_dev).$$f; \
+ done;
+ @for f in dirs; do \
+ echo "generating control file $(package_headers).$$f"; \
+ cp debian/wxwin-headers.$$f debian/$(package_headers).$$f; \
+ done;
+ @for f in dirs; do \
+ echo "generating control file $(package_i18n).$$f"; \
+ cp debian/wxwin-i18n.$$f debian/$(package_i18n).$$f; \
+ done;
+ @for f in dirs docs doc-base; do \
+ echo "generating control file $(package_doc).$$f"; \
+ sed -e 's/=V/$(release)/g' < debian/wxwin-doc.$$f \
+ > debian/$(package_doc).$$f; \
+ done;
+ @for f in examples; do \
+ echo "generating control file $(package_examples).$$f"; \
+ cp debian/wxwin-examples.$$f debian/$(package_examples).$$f; \
+ done;
+ @for f in dirs links postinst prerm; do \
+ echo "generating control file $(package_wxbase_msw_dev).$$f"; \
+ sed -e 's/=V/$(release)/g;s/=H/$(cross_host)/g' < debian/libwxbase-msw-dev.$$f \
+ > debian/$(package_wxbase_msw_dev).$$f; \
+ done;
+ @for f in dirs links postinst prerm; do \
+ echo "generating control file $(package_wxbase_msw_dbg).$$f"; \
+ sed -e 's/=V/$(release)/g;s/=H/$(cross_host)/g' < debian/libwxbase-msw-dbg.$$f \
+ > debian/$(package_wxbase_msw_dbg).$$f; \
+ done;
+ @for f in dirs links postinst prerm; do \
+ echo "generating control file $(package_msw_dev).$$f"; \
+ sed -e 's/=V/$(release)/g;s/=H/$(cross_host)/g' < debian/libwxmsw-dev.$$f \
+ > debian/$(package_msw_dev).$$f; \
+ done;
+ @for f in dirs links postinst prerm; do \
+ echo "generating control file $(package_msw_dbg).$$f"; \
+ sed -e 's/=V/$(release)/g;s/=H/$(cross_host)/g' < debian/libwxmsw-dbg.$$f \
+ > debian/$(package_msw_dbg).$$f; \
+ done;
+ @for f in dirs; do \
+ echo "generating control file $(package_headers_msw).$$f"; \
+ sed -e 's/=H/$(cross_host)/g' < debian/wxwin-headers-msw.$$f \
+ > debian/$(package_headers_msw).$$f; \
+ done;
+ @for f in dirs links postinst prerm; do \
+ echo "generating control file $(package_gtk_univ).$$f"; \
+ sed -e 's/=V/$(release)/g' < debian/libwxgtk-univ.$$f \
+ > debian/$(package_gtk_univ).$$f; \
+ done;
+ 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.