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

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

override_dh_auto_install:
	dh_auto_install -- \
            INSTALL_DIR='$$(INSTALL) -d -m 0755' \
            INSTALL_FILE='$$(INSTALL) -m 0644' \
            INSTALL_PROGRAM='$$(INSTALL) -m 0755' \
            INSTALL_SCRIPT='$$(INSTALL) -m 0755' \

%:
	dh $@ --no-parallel

# Upstream included some Makefile.orig in the tarball; exclude those to
# avoid fighting with git.
override_dh_clean:
	dh_clean -X Makefile.orig
