#!/usr/bin/make -f %: dh $@ --with=python2 --buildsystem=pybuild override_dh_install: dh_install # Rename script cd debian/yagtd/usr/bin && mv yagtd.py yagtd # Remove extra copies of changelog, licensing information cd debian/yagtd/usr/share/doc/yagtd && rm INSTALL COPYING LICENCE ChangeLog override_dh_installchangelogs: dh_installchangelogs ChangeLog