#!/usr/bin/make -f

PKG:=$(shell dh_listpackages)
TMP:=$(CURDIR)/debian/$(PKG)

%:
	dh $@

override_dh_auto_test:
	NO_NETWORK=1 dh_auto_test

# Historically this package installed 'shorten'
# as an example rather than a tool.
# I see no compelling reason to change that
# but it requires this override.
override_dh_installexamples:
	dh_installexamples bin/shorten
	$(RM) -rv $(TMP)/usr/bin $(TMP)/usr/share/man/man1
