#!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --with python2 override_dh_auto_clean: dh_auto_clean rm -rf whyteboard.egg-info override_dh_auto_install: dh_auto_install install -m 755 whyteboard.py $(CURDIR)/debian/whyteboard/usr/share/whyteboard/whyteboard_main.py override_dh_fixperms: dh_fixperms find debian/whyteboard/usr/share/whyteboard debian/whyteboard/usr/share/locale -type f -print0 2>/dev/null | xargs -0r chmod 644 chmod 755 $(CURDIR)/debian/whyteboard/usr/share/whyteboard/whyteboard_main.py