#!/usr/bin/make -f
# -*- Makefile -*-

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

ifeq ($(DEB_BUILD_ARCH_OS), kfreebsd)
        DO_TEST = no
endif

override_dh_auto_configure:
	dh_auto_configure -- --with-system-pgm

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
ifneq ($(DO_TEST), no)
	dh_auto_test
else
	-dh_auto_test
endif
endif

override_dh_strip:
	dh_strip --dbg-package=libzmq-dbg

%:
	dh $@ --with=autoreconf

.PHONY: override_dh_auto_configure override_dh_auto_test override_dh_strip
