File: rules

package info (click to toggle)
camlbz2 0.8.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 188 kB
  • sloc: ansic: 292; ml: 66; makefile: 14; sh: 8
file content (21 lines) | stat: -rwxr-xr-x 399 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DESTDIR=$(CURDIR)/debian/tmp
include /usr/share/ocaml/ocamlvars.mk

%:
	dh $@ --with ocaml --no-parallel

override_dh_auto_build:
	dune build @install

override_dh_auto_install-arch:
	dune install --destdir=$(DESTDIR) \
		--prefix=/usr --libdir=$(OCAML_STDLIB_DIR)

override_dh_clean:
	dune clean
	dh_clean

override_dh_auto_test: