#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
ifeq (linux,$(DEB_HOST_ARCH_OS))
	scons ALSA=true OSS=false JACK=true customLIBS=pthread
else
	scons ALSA=false OSS=true JACK=false customLIBS=pthread
endif

override_dh_install:
	dh_install -plibsndobj-dev
	rm -rf debian/libsndobj-dev/usr/include/SndObj/CVS/
	dh_install --remaining-packages

override_dh_installchangelogs:
	dh_installchangelogs change.log
