#!/usr/bin/make -f # Set to enable verbose output from debhelper #export DH_VERBOSE=1 install_dir = debian/tmp %: dh $@ --with python2 override_dh_compress: dh_compress -X.py override_dh_auto_install: mkdir -p $(install_dir)/bin cp debian/wrapper $(install_dir)/bin/pychecker dh_auto_install -- --root $(install_dir) --install-purelib lib/pychecker override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) sh debian/regression.sh endif