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

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

PACKAGE = $(shell dh_listpackages)
TMP     = $(CURDIR)/debian/$(PACKAGE)

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

#override_dh_auto_configure:
#	dh_auto_configure -- --with-release=xDebian

override_dh_auto_install:
	dh_auto_install
	# These files are redundant for Debian packages
	rm --verbose $(TMP)/usr/share/doc/xoreos-tools/COPYING
	rm --verbose $(TMP)/usr/share/doc/xoreos-tools/ChangeLog
