#!/usr/bin/make -f include /usr/share/ocaml/ocamlvars.mk DESTDIR := $(CURDIR)/debian/tmp %: dh $@ --with ocaml override_dh_auto_build: dune build -p ldap override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) dune runtest -p ldap endif override_dh_auto_install: dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR) ldap