#!/usr/bin/make -f
export DH_VERBOSE=1
export DEB_BUILD_OPTIONS += noautodbgsym

%:
	dh $@ --buildsystem=cmake

override_dh_auto_clean:
	rm -f deps/juce/modules/juce_audio_processors/format_types/juce_VSTInterface.h
	dh_auto_clean

override_dh_auto_configure:
	cp -f debian/juce_VSTInterface.h \
		deps/juce/modules/juce_audio_processors/format_types/
	dh_auto_configure -- \
		-DCMAKE_BUILD_TYPE=Release \
		-DVST2_SDK_PATH=/usr/include/vst24

override_dh_auto_install:
