#!/usr/bin/make -f %: dh $@ -Dexternal override_dh_auto_clean \ override_dh_auto_build \ override_dh_auto_test: $(patsubst override_%,%,$@) -- \ PDLIBBUILDER_DIR=/usr/share/pd-lib-builder/ \ prefix=/usr pkglibdir=$(pkglibdir) \ arch.flags="" \ CPPFLAGS="$(CPPFLAGS)" \ CFLAGS="$(CPPFLAGS) $(CFLAGS)" \ LDFLAGS="$(LDFLAGS)" \ $(empty) override_dh_auto_install: ABLETONLINK_VERSION := $(shell dpkg-query --show --showformat='$${source:Version}' ableton-link-dev) override_dh_gencontrol: dh_gencontrol -- \ -Vsrc:BuiltUsing="ableton-link ( = $(ABLETONLINK_VERSION) )" licensecheck: licensecheck --deb-machine -r . \ > debian/copyright_newhints cmp debian/copyright_hints debian/copyright_newhints \ && rm debian/copyright_newhints