File: rules

package info (click to toggle)
ocaml-qcheck 0.25-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 1,920 kB
  • sloc: ml: 10,889; sh: 46; makefile: 39
file content (16 lines) | stat: -rwxr-xr-x 446 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/ocaml/ocamlvars.mk

%:
	dh $@ --with ocaml --buildsystem ocaml_dune

override_dh_auto_test:
# Tests are fragile and fail on many architectures, so we ignore failures
	dh_auto_test || true

execute_after_dh_auto_build-indep:
ifeq ($(filter nodoc,$(DEB_BUILD_OPTIONS))$(filter nodoc,$(DEB_BUILD_PROFILES)),)
	dune build -p "$(shell xargs echo < debian/debian-dune | tr ' ' ',')" @doc
endif