#!/usr/bin/make -f # -*- makefile -*- include /usr/share/ocaml/ocamlvars.mk DESTDIR=$(CURDIR)/debian/tmp %: dh $@ --with ocaml --no-parallel # we need to pass -p cpu because otherwise we get this error on salsaci: # Error: Too many opam files for package "cpu": # - debian/output/source_dir/cpu.opam # - cpu.opam # See: https://salsa.debian.org/salsa-ci-team/pipeline/-/issues/200 override_dh_auto_build: dune build -p cpu --verbose override_dh_auto_install: dune install -p cpu --destdir=$(DESTDIR) --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR) override_dh_missing: dh_missing --fail-missing