File: rules

package info (click to toggle)
ocaml-merlin 5.4.1-503%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 23,840 kB
  • sloc: ml: 350,452; lisp: 2,227; ansic: 1,127; python: 798; sh: 317; makefile: 124
file content (25 lines) | stat: -rwxr-xr-x 711 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
22
23
24
25
#!/usr/bin/make -f

include /usr/share/ocaml/ocamlvars.mk

%:
	dh $@ --with ocaml,vim_addon

override_dh_auto_build:
	OCAMLPARAM=_,w=-3 dune build @all

override_dh_auto_install:
	dune install --destdir=$(CURDIR)/debian/tmp --prefix=/usr --libdir=$(OCAML_STDLIB_DIR)
	find $(CURDIR)/debian/tmp -name LICENSE -delete
	rm -rf $(CURDIR)/debian/tmp/usr/doc/ocaml-index/*.md
	rm -rf $(CURDIR)/debian/tmp/usr/doc/dot-merlin-reader
	rm -rf $(CURDIR)/debian/tmp/usr/doc/merlin-lib

override_dh_auto_test:
	# do nothing!

override_dh_auto_clean:
	dune clean
	rm -f src/ocaml/preprocess/menhirLib.*
	rm -f src/ocaml/preprocess/parser_raw.ml src/ocaml/preprocess/parser_raw.mli
	rm -f src/ocaml/preprocess/parser_raw.cmly