17 lines
383 B
Makefile
Executable File

#!/usr/bin/make -f
%:
dh $@ --with python2
override_dh_auto_install:
dh_auto_install
ln -s $(shell dpkg-vendor --query Vendor | tr '[:upper:]' '[:lower:]')-distro-info debian/ubuntu-dev-tools/usr/bin/distro-info
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
override_dh_auto_test:
set -e; \
for python in $(shell pyversions -r); do \
$$python setup.py test; \
done
endif