#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@
	
override_dh_auto_configure:
	dh_auto_configure -- --libdir=/usr/lib

override_dh_auto_install:
	mkdir -p $(CURDIR)/debian/fluidsynth-dssi/usr/bin/
	install -m 0755 $(CURDIR)/debian/fluidsynth-dssi.sh $(CURDIR)/debian/fluidsynth-dssi/usr/bin/fluidsynth-dssi
	dh_auto_install
	find $(CURDIR)/debian/fluidsynth-dssi/usr/lib -name fluidsynth-dssi.la -delete
