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

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

BLDDIR = debian/cmake

%:
	dh $@ -Scmake -B$(BLDDIR) --parallel

override_dh_auto_configure:
	dh_auto_configure -- \
		-DCMAKE_VERBOSE_MAKEFILE:BOOL=OFF \
		-DCMAKE_BUILD_TYPE:STRING=Release \
		-DCMAKE_SKIP_RPATH:BOOL=ON \
		-DUSE_STATIC:BOOL=ON \
		-DUSE_SHARED:BOOL=OFF \
		-DUSE_LIBXML:BOOL=ON \
		-DUSE_EXPAT:BOOL=OFF
