#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
DH_VERBOSE = 1

# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

# see FEATURE AREAS in dpkg-buildflags(1)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# main packaging script based on dh7 syntax
%:
	dh $@ 

# debmake generated override targets, only if cmake 3.0.X (See http://bugs.debian.org/641051 )
#override_dh_auto_configure:
#	dh_auto_configure -- -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)

override_dh_install:
	dh_install -- 
	mkdir -p debian/libsolarus-dev/usr/lib/$(DEB_HOST_MULTIARCH)/
	mv debian/libsolarus/usr/lib/*/libsolarus.so debian/libsolarus-dev/usr/lib/$(DEB_HOST_MULTIARCH)/