#!/usr/bin/make -f
# -*- makefile -*-
# This file was originally written by Joey Hess and Craig Small.
# This file was modified by Harshula Jayasuriya.
# This file was modified by Boyuan Yang.
#
# 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

# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic

include /usr/share/dpkg/default.mk

%:
	dh $@

execute_after_dh_clean:
	for F in *.map *tab; do \
		if [ "$$F" = 'BLOCK.tab' ]; then \
			continue; \
		fi; \
		rm -f "$$F"; \
	done
