#!/usr/bin/make -f

include /usr/share/ocaml/ocamlvars.mk

export DEB_BUILD_OPTIONS += noautodbgsym

%:
	dh $@ --with coq,ocaml

override_dh_auto_clean:
	make clean
	find . -name "*.aux" -delete
	rm -f CoqMakefile CoqMakefile.conf Makefile.conf

override_dh_auto_configure:
	coq_makefile -f _CoqProject -o Makefile

override_dh_auto_install:
	DESTDIR=debian/tmp make install
