#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 #export DH_OPTIONS=-v DESTDIR=$(CURDIR)/debian/tmp include /usr/share/ocaml/ocamlvars.mk OCAMLFIND_DESTDIR=$(DESTDIR)/$(OCAML_STDLIB_DIR) export OCAMLFIND_DESTDIR OCAMLFIND_LDCONF=ignore export OCAMLFIND_LDCONF %: dh $@ --with ocaml override_dh_auto_build: dune build -p yojson override_dh_auto_test: # needs alcotest which is not in Debian override_dh_auto_install: dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR) rm -f $(DESTDIR)/usr/doc/yojson/LICENSE.md override_dh_missing: dh_missing --fail-missing