+ dh_install $(objdir_gtk_install)/share/bakefile/presets usr/share/bakefile
+ dh_install $(objdir_gtk_install)/share/bakefile/presets/wx*.bkl usr/share/bakefile/presets
+
+ dh_install $(objdir_gtk_install)/share/aclocal usr/share
+ dh_installman debian/wx-config.1
+
+ dh_install $(objdir_gtk_shared)/utils/wxrc/wxrc usr/bin
+ dh_installman debian/wxrc-tools.1
+ dh_link usr/share/man/man1/wxrc-tools.1 usr/share/man/man1/wxrc.1
+
+
+install-headers: DH_OPTIONS=-p$(package_headers)
+install-headers: install-gtk-shared-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+
+# The only way to be really sure we get the univ headers correct is to install
+# them. Do that in a scratch dirs, and move the gtk ones last, so at least
+# they win in the result of any uncaught conflict.
+
+# cd $(objdir_gtk_univ) \
+# && $(MAKE) install prefix=`pwd`/../$(objdir_univ_install)/usr
+
+# dh_movefiles --sourcedir=$(objdir_univ_install)
+ dh_install $(objdir_gtk_install)/include usr
+
+install-i18n: DH_OPTIONS=-p$(package_i18n)
+install-i18n: build-i18n-stamp install-gtk-shared-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_install $(objdir_gtk_install)/share/locale usr/share
+
+install-doc: DH_OPTIONS=-p$(package_doc)
+install-doc: build-doc-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+
+ @# Link this monstrosity with an overly obfuscated name
+ @# to something that both people and browsers can expect to find.
+ dh_link usr/share/doc/$(package_doc)/wx-manual.html/wx-$(release)-manual_contents.html \
+ usr/share/doc/$(package_doc)/wx-manual.html/index.html
+
+install-examples: DH_OPTIONS=-p$(package_examples)
+install-examples: build-examples-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+
+install-gtk-dbg-py: DH_OPTIONS=-p$(package_gtk_dbg_py)
+install-gtk-dbg-py: build-gtk-dbg-py-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs usr/lib/wx/python
+ cd wxPython \
+ && $(python_ver) ./setup.py install \
+ --prefix=`pwd`/../debian/$(package_gtk_dbg_py)/usr \
+ WX_CONFIG='$(wxconfig-dbg)' \
+ SYS_WX_CONFIG='$(pyd_wxconfig)' \
+ WXPORT=$(pytoolkit) \
+ $(PY_UNICODE) \
+ FLAVOUR=$(addsuffix -,$(DEBIAN_WXFLAVOUR))dbg
+
+ mv debian/$(package_gtk_py_lib)/$(pydir)/wx.pth \
+ debian/$(package_gtk_py_lib)/usr/lib/wx/python/wx$(release)-dbg.pth
+
+ find debian/$(package_gtk_dbg_py)/$(pydir) -name '*.py?' -exec rm '{}' ';'
+ rm -rf usr/bin $(pydir)/{wxversion.py,wx.pth}
+
+ # This is rather bogus, its included in the main copyright file now though.
+ rm -f debian/$(package_gtk_dbg_py)/$(wxpydir)/wx/tools/XRCed/license.txt
+
+
+install-msw-dev: DH_OPTIONS=-p$(package_msw_dev)
+install-msw-dev: build-msw-shared-stamp build-msw-static-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_install $(objdir_msw_shared)/lib/*.dll* usr/$(cross_host)/lib
+ dh_install $(objdir_msw_shared)/lib/wx/include usr/$(cross_host)/lib/wx
+ dh_install $(objdir_msw_shared)/lib/wx/config/$(cross_host)* usr/$(cross_host)/lib/wx/config
+ dh_install $(objdir_msw_static)/lib/*.a usr/$(cross_host)/lib
+ dh_install $(objdir_msw_static)/lib/wx/include usr/$(cross_host)/lib/wx
+ dh_install $(objdir_msw_static)/lib/wx/config/$(cross_host)* usr/$(cross_host)/lib/wx/config
+ $(cross_host)-strip --strip-debug debian/$(package_msw_dev)/usr/$(cross_host)/lib/*.a
+
+ @# As a special case for the cross packages, we link their config
+ @# under /usr as well as under the normal cross prefix. This way
+ @# --prefix=/usr/$(cross_host) and --prefix=/usr --host=$(cross_host)
+ @# will have a congruent effect on wx-config.
+ @( for f in `ls -1 debian/$(package_msw_dev)/usr/$(cross_host)/lib/wx/config`; do \
+ all_cfg="$${all_cfg} usr/$(cross_host)/lib/wx/config/$$f usr/lib/wx/config/$$f"; \
+ echo "linking cross config /usr/$(cross_host)/lib/wx/config/$$f"; \
+ done; \
+ dh_link $${all_cfg}; \
+ )
+
+install-msw-dbg: DH_OPTIONS=-p$(package_msw_dbg)
+install-msw-dbg: build-msw-dbg-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_install $(objdir_msw_dbg)/lib/*.dll* usr/$(cross_host)/lib
+ dh_install $(objdir_msw_dbg)/lib/wx/include usr/$(cross_host)/lib/wx
+ dh_install $(objdir_msw_dbg)/lib/wx/config/$(cross_host)* usr/$(cross_host)/lib/wx/config
+ # No static lib, they're freakin' huge!
+ #$(cross_host)-strip --strip-debug debian/$(package_msw_dbg)/usr/$(cross_host)/lib/*.a
+
+ @( for f in `ls -1 debian/$(package_msw_dbg)/usr/$(cross_host)/lib/wx/config`; do \
+ all_cfg="$${all_cfg} usr/$(cross_host)/lib/wx/config/$$f usr/lib/wx/config/$$f"; \
+ echo "linking cross config /usr/$(cross_host)/lib/wx/config/$$f"; \
+ done; \
+ dh_link $${all_cfg}; \
+ )
+
+install-headers-msw: DH_OPTIONS=-p$(package_headers_msw)
+install-headers-msw:
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+
+ cd $(objdir_msw_shared) \
+ && $(MAKE) install prefix=`pwd`/../$(objdir_msw_install)
+
+# Symlink all the headers that will be installed by the main -headers
+# package to where the cross compiler will expect them.
+ @( for f in `ls -1 $(objdir_msw_install)/include/wx-$(release)/wx`; do \
+ all_h="$${all_h} usr/include/wx-$(release)/wx/$$f usr/$(cross_host)/include/wx-$(release)/wx/$$f"; \
+ echo "linking header /usr/include/wx-$(release)/wx/$$f"; \
+ done; \
+ dh_link $${all_h}; \
+ )
+
+# But install this lot for real.
+ rm -f debian/$(package_headers_msw)/usr/$(cross_host)/include/wx-$(release)/wx/msw
+ dh_install $(objdir_msw_install)/include/wx-$(release)/wx/msw usr/$(cross_host)/include/wx-$(release)/wx
+
+
+binary-common: