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

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

%:
	dh $@

# Test suite requires a system installation and a valid display
override_dh_auto_test:
	true

# Check Debian.README for problems related to the dbgsym conflicting files
execute_before_dh_builddeb:
	-sed -i -e '/Depends:/a Conflicts: libignition-gazebo-plugins-dbgsym' \
		./debian/.debhelper/libignition-gazebo6-6/dbgsym-root/DEBIAN/control
	-sed -i -e '/Depends:/a Conflicts: libignition-gazebo6-6-dbgsym' \
		./debian/.debhelper/libignition-gazebo-plugins/dbgsym-root/DEBIAN/control
