File: rules

package info (click to toggle)
ocaml-rope 0.6.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 528 kB
  • sloc: ml: 1,715; makefile: 37; sh: 33
file content (20 lines) | stat: -rwxr-xr-x 427 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

DESTDIR=$(CURDIR)/debian/tmp
include /usr/share/ocaml/ocamlvars.mk
export OCAMLFIND_DESTDIR=$(DESTDIR)$(OCAML_STDLIB_DIR)

%:
	dh $@ --with ocaml

override_dh_auto_configure:

override_dh_auto_build:
	dune build @install -p rope --verbose

override_dh_auto_install:
	mkdir -p '$(OCAMLFIND_DESTDIR)'
	dune install --destdir=$(DESTDIR) --verbose

override_dh_auto_test:
	dune build @runtest -p rope --verbose