#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk
include /usr/share/ocaml/ocamlvars.mk
include /usr/share/coq/coqvars.mk

%:
	dh $@ --with coq,ocaml

override_dh_installman:
	dh_installman --language='C'

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp/

override_dh_auto_clean:
	make clean
	find . -name "*.cm*" -delete
	find . -name "*.aux" -delete
	rm -f Makefile.coq Makefile.coq.conf
	rm -f Makefile.test-suite.coq Makefile.test-suite.coq.conf
	rm -f *dot
