#!/usr/bin/make -f
# -*- makefile -*-

%:
	dh $@ --buildsystem=makefile

override_dh_auto_build:
	cd Platform/Linux/CreateRedist && bash RedistMaker

override_dh_clean:
	dh_clean -X Platform/Win32/CreateRedist/EE_NI/Includes/EENIVariables.wxi.bak
	rm -rf -- Platform/Linux/Bin/
	rm -rf -- Platform/Linux/Build/Utils/XnSensorServer/*-Release/
	rm -rf -- Platform/Linux/Build/XnCore/*-Release/
	rm -rf -- Platform/Linux/Build/XnDDK/*-Release/
	rm -rf -- Platform/Linux/Build/XnDeviceFile/*-Release/
	rm -rf -- Platform/Linux/Build/XnDeviceSensorV2/*-Release/
	rm -rf -- Platform/Linux/Build/XnFormats/*-Release/
	rm -rf -- Platform/Linux/CreateRedist/Final/
	rm -rf -- Platform/Linux/Redist/
