#!/usr/bin/make -f

LDFLAGS+=-Wl,--as-needed

%:
	dh $@ --with=autoreconf

override_dh_auto_install:
	dh_auto_install
	# Remove rpath
	# chrpath -d $(CURDIR)/debian/sineshaper/usr/lib/*/dssi/sineshaper/sineshaper_gtk
	cd $(CURDIR)/debian/sineshaper/usr/bin && \
		mv sineshaper.sh sineshaper
