#!/usr/bin/make -f

%:
	dh $@ \
		-Scmake

override_dh_auto_configure:
	dh_auto_configure -Scmake -- \
		-DWITH_GDAL=TRUE \
		-DWITH_GEOTIFF=TRUE \
		-DGEOTIFF_INCLUDE_DIR=/usr/include/geotiff

override_dh_install:
	dh_install

	# remove capi from liblas-dev
	rm -vrf $(CURDIR)/debian/liblas-dev/usr/include/liblas/capi/

override_dh_auto_test:
	# don't run tests
