#!/usr/bin/make -f
#DH_VERBOSE = 1

# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

%:
	dh $@  --with autoreconf

# needs working OpenGL..
#ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
#ENABLE_TESTS = --enable-tests
#endif

override_dh_auto_configure:
	dh_auto_configure -- --disable-silent-rules --libdir=/usr/lib \
		--enable-static --disable-werror $(ENABLE_TESTS)
