#!/usr/bin/make -f
# debian/rules file for squizz

#export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	dh_auto_test --no-parallel
endif

override_dh_missing:
	# Remove un-needed html and la files
	find debian/tmp -name '*.la' | xargs rm -rf
	find debian/tmp -name '*.html' | xargs rm -rf
	dh_missing
