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

export DEB_CXXFLAGS_MAINT_APPEND = -std=gnu++98

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

override_dh_auto_configure:
	dh_auto_configure -- --enable-mmdb --enable-minimol --enable-cif --enable-ccp4 --enable-shared --disable-static --enable-fortran

override_dh_auto_build-indep:
	doxygen debian/Doxyfile

override_dh_clean:
	rm -f doxy.core.tag
	rm -rf doc/
	dh_clean

%:
	dh $@ --with autoreconf --ddeb-migration='libclipper2-dbg (<< 2.1.20160809-1~)'
