#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	bash /etc/profile.d/AGL-app-framework-binder.sh
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/opt/AGL -DCMAKE_INSTALL_LIBDIR:PATH=lib/${DEB_HOST_MULTIARCH}

override_dh_auto_install:
	dh_auto_install --destdir=/usr/src/packages/BUILD/debian/tmp
	mkdir -p debian/tmp/opt/AGL/afm/applications/
	mv debian/tmp/opt/AGL/afTest/ debian/tmp/opt/AGL/afm/applications/

override_dh_auto_test: