1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
PYVERS = $(shell pyversions -r -v)
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
$(MAKE) check
endif
override_dh_install:
# Install everything excluding the *_d.so debug extensions to python-meliae
dh_install -X"*_d.so" "debian/tmp/*" -p python-meliae
# Install the debug extensions to python-meliae-dbg
dh_install "debian/tmp/usr/lib/python*/*-packages/meliae/*_d.so" -p python-meliae-dbg
# Continue with regular dh_install
dh_install
override_dh_strip:
ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
dh_strip --dbg-package=python-meliae-dbg
endif
%:
dh $* --with python2 --buildsystem=python_distutils
|