#!/usr/bin/make -f

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

CONFIGURE_FLAGS = --enable-static

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIGURE_FLAGS) --docdir=/usr/share/doc/libwpg-doc

override_dh_auto_install:
	dh_auto_install
	find debian -name wpg2svgbatch.pl -delete
