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

# Uncomment for debhelper verbose output. 
# export DH_VERBOSE=1

%:
	dh $$@ --with=autoreconf

.PHONY: override_dh_auto_configure
override_dh_auto_configure:
	dh_auto_configure -- CFLAGS="-g"

.PHONY: override_dh_install
override_dh_install:
	dh_install --fail-missing -X.la

.PHONY: override_dh_strip
override_dh_strip:
ifeq (,$$(filter nostrip,$$(DEB_BUILD_OPTIONS)))
	dh_strip -p${library_name} --dbg-package=${library_name}-dbg
	dh_strip -p${library_name}-tools --dbg-package=${library_name}-tools-dbg
endif

