#!/usr/bin/make -f DEB_PYTHON_SYSTEM = pysupport include /usr/share/cdbs/1/rules/patchsys-quilt.mk include ./debian/python-autotools.mk include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk DEB_MAKE_CHECK_TARGET = check || true DEB_CONFIGURE_EXTRA_FLAGS += --enable-thread DEB_PYTHON_PRIVATE_MODULES_DIRS_python-gobject-dev = /usr/share/pygobject DEB_DH_MAKESHLIBS_ARGS_python-gobject += -V'python-gobject (>= 2.15.2)' #DEB_DH_MAKESHLIBS_ARGS_python-gobject-dbg += -V'python-gobject-dbg (>= 2.15.2)' # debhelper.mk refuses to run dh_makeshlibs on a dbg package binary-fixup/python-gobject-dbg:: dh_makeshlibs -ppython-gobject-dbg -V'python-gobject-dbg (>= 2.15.2)' binary-install/python-gobject-dbg:: rm -rf debian/python-gobject-dbg/usr/share/doc/python-gobject-dbg ln -sf python-gobject debian/python-gobject-dbg/usr/share/doc/python-gobject-dbg binary-install/python-gobject-dev:: chmod 755 `grep -rl "^#\!.*python" debian/python-gobject-dev/usr`