+install-gtk-lib: DH_OPTIONS=-p$(package_gtk_lib)
+install-gtk-lib: build-gtk-shared-stamp install-gtk-shared-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ dh_install $(objdir_gtk_install)/share/wx usr/share
+ dh_install $(objdir_gtk_install)/lib/*.so.* usr/lib
+
+install-gtk-dev: DH_OPTIONS=-p$(package_gtk_dev)
+install-gtk-dev: build-gtk-static-stamp install-gtk-shared-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ dh_install $(objdir_gtk_install)/bin/wxgtk-$(release)-config usr/bin
+ dh_install $(objdir_gtk_install)/lib/{wx,*.so} usr/lib
+ dh_install $(objdir_gtk_static)/lib/libwx_gtk{-,_gl}*.a usr/lib
+
+install-gtk-dbg: DH_OPTIONS=-p$(package_gtk_dbg)
+install-gtk-dbg: build-gtk-debug-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ dh_install $(objdir_gtk_debug)/wxgtkd-$(release)-config usr/bin
+ dh_install $(objdir_gtk_debug)/lib usr
+ cp debian/lintian-override debian/$(package_gtk_dbg)/usr/share/lintian/overrides/$(package_gtk_dbg)
+
+install-gtk-univ: DH_OPTIONS=-p$(package_gtk_univ)
+install-gtk-univ: build-gtk-univ-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ dh_install $(objdir_gtk_univ)/wxgtkuniv-$(release)-config usr/bin
+ dh_install $(objdir_gtk_univ)/lib usr
+ cp debian/lintian-override debian/$(package_gtk_univ)/usr/share/lintian/overrides/$(package_gtk_univ)
+
+install-gtk-contrib-stamp:
+ dh_testdir
+ mkdir -p $(objdir_gtk_contrib_install)/lib
+ cd $(objdir_gtk_shared)/contrib/src \
+ && $(MAKE) install prefix=`pwd`/../../../$(objdir_gtk_contrib_install)
+ touch $@
+
+install-gtk-contrib: DH_OPTIONS=-p$(package_gtk_contrib)
+install-gtk-contrib: build-contrib-shared-stamp install-gtk-contrib-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ dh_install $(objdir_gtk_contrib_install)/lib/*.so.* usr/lib
+
+install-gtk-contrib-dev: DH_OPTIONS=-p$(package_gtk_contrib_dev)
+install-gtk-contrib-dev: build-contrib-static-stamp install-gtk-contrib-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ dh_install $(objdir_gtk_contrib_install)/include usr
+ dh_install $(objdir_gtk_contrib_install)/lib/*.so usr/lib
+ dh_install -Xlibwx_gtk- -Xlibwx_gtk_gl- \
+ $(objdir_gtk_static)/lib/*.a usr/lib
+
+install-gtk-py: DH_OPTIONS=-p$(package_gtk_py)
+install-gtk-py: build-gtk-py-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ cd wxPython \
+ && ./setup.py install \
+ --prefix=`pwd`/../debian/$(package_gtk_py)/usr \
+ WX_CONFIG='$(wxconfig)'
+ find debian/$(package_gtk_py)/usr/lib/$(python_dir)/site-packages/wxPython \
+ -name '*.py?' -exec rm '{}' ';'
+
+ dh_installman debian/wxPython-tools.1
+ dh_link usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/img2py.1 \
+ usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/img2xpm.1 \
+ usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/img2png.1 \
+ usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/pycrust.1 \
+ usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/pyshell.1 \
+ usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/xrced.1 \
+ usr/share/man/man1/wxPython-tools.1 usr/share/man/man1/helpviewer.1
+
+install-headers: DH_OPTIONS=-p$(package_headers)
+install-headers: install-gtk-shared-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+# 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
+ dh_install $(objdir_gtk_install)/share/aclocal usr/share
+
+ dh_installman debian/wx-config.1
+
+install-i18n: DH_OPTIONS=-p$(package_i18n)
+install-i18n: build-i18n-stamp install-gtk-shared-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ 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
+ dh_installdirs
+
+install-examples: DH_OPTIONS=-p$(package_examples)
+install-examples: build-examples-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+install-wxbase-msw-dev: DH_OPTIONS=-p$(package_wxbase_msw_dev)
+install-wxbase-msw-dev: build-wxbase-msw-shared-stamp build-wxbase-msw-static-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ cp -a $(objdir_wxbase_msw_shared)/lib/* debian/$(package_wxbase_msw_dev)/usr/$(cross_host)/lib
+ cp -a $(objdir_wxbase_msw_static)/lib/*.a debian/$(package_wxbase_msw_dev)/usr/$(cross_host)/lib
+ cp $(objdir_wxbase_msw_shared)/wxbase-$(release)-$(cross_host)-config debian/$(package_wxbase_msw_dev)/usr/bin/
+ $(cross_host)-strip --strip-debug debian/$(package_wxbase_msw_dev)/usr/$(cross_host)/lib/*.a
+
+install-wxbase-msw-dbg: DH_OPTIONS=-p$(package_wxbase_msw_dbg)
+install-wxbase-msw-dbg: build-wxbase-msw-dbg-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ cp -a $(objdir_wxbase_msw_dbg)/lib/* debian/$(package_wxbase_msw_dbg)/usr/$(cross_host)/lib
+ cp $(objdir_wxbase_msw_dbg)/wxbased-$(release)-$(cross_host)-config debian/$(package_wxbase_msw_dbg)/usr/bin/
+ # No static lib, they're freakin' huge!
+ #$(cross_host)-strip --strip-debug debian/$(package_wxbase_msw_dbg)/usr/$(cross_host)/lib/*.a
+
+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_installdirs
+ cp -a $(objdir_msw_shared)/lib/* debian/$(package_msw_dev)/usr/$(cross_host)/lib
+ cp -a $(objdir_msw_static)/lib/*.a debian/$(package_msw_dev)/usr/$(cross_host)/lib
+ cp $(objdir_msw_shared)/wxmsw-$(release)-$(cross_host)-config debian/$(package_msw_dev)/usr/bin/
+ $(cross_host)-strip --strip-debug debian/$(package_msw_dev)/usr/$(cross_host)/lib/*.a
+
+install-msw-dbg: DH_OPTIONS=-p$(package_msw_dbg)
+install-msw-dbg: build-msw-dbg-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ cp -a $(objdir_msw_dbg)/lib/* debian/$(package_msw_dbg)/usr/$(cross_host)/lib
+ cp $(objdir_msw_dbg)/wxmswd-$(release)-$(cross_host)-config debian/$(package_msw_dbg)/usr/bin/
+ # No static lib, they're freakin' huge!
+ #$(cross_host)-strip --strip-debug debian/$(package_msw_dbg)/usr/$(cross_host)/lib/*.a
+
+install-headers-msw: DH_OPTIONS=-p$(package_headers_msw)
+install-headers-msw:
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ @# 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 include/wx`; do \
+ ln -s /usr/include/wx/$$f debian/$(package_headers_msw)/usr/$(cross_host)/include/wx; \
+ echo "linking header /usr/include/wx/$$f"; \
+ done;
+ @# But install this lot for real.
+ rm -f debian/$(package_headers_msw)/usr/$(cross_host)/include/wx/msw
+ cp -a include/wx/msw debian/$(package_headers_msw)/usr/$(cross_host)/include/wx
+ @# and remove this cruft(?)
+ rm -f debian/$(package_headers_msw)/usr/$(cross_host)/include/wx/treelay.h