#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 WAF_OPTIONS = --verbose --prefix=/usr --destdir=debian/pd-aubio WAF_CMD = ./waf --nocache %: dh $@ override_dh_auto_clean: $(WAF_CMD) distclean override_dh_auto_configure: $(WAF_CMD) configure $(WAF_OPTIONS) override_dh_auto_build-arch: $(WAF_CMD) build $(WAF_OPTIONS) override_dh_auto_install: $(WAF_CMD) install $(WAF_OPTIONS) override_dh_fixperms: dh_fixperms find debian -name '*.pd_linux' -exec \ chmod 0644 {} + override_dh_strip: dh_strip find debian -name "*.pd_linux" -exec \ strip --remove-section=.comment --remove-section=.note --strip-unneeded {} + override_dh_shlibdeps: find debian -name "*.pd_linux" -exec \ dpkg-shlibdeps -Tdebian/pd-aubio.substvars {} +