#!/usr/bin/make -f # -*- makefile -*- include /usr/share/ocaml/ocamlvars.mk DESTDIR=$(CURDIR)/debian/tmp %: dh $@ --with ocaml override_dh_auto_build: dune build -p ocplib-endian override_dh_auto_install: dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR) rm -f $(DESTDIR)/usr/doc/ocplib-endian/COPYING.txt override_dh_auto_test: ifeq ($(OCAML_HAVE_OCAMLOPT),yes) dh_auto_test endif override_dh_dwz: