File: rules

package info (click to toggle)
morsmall 0.3.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 268 kB
  • sloc: ml: 1,321; makefile: 39; sh: 19
file content (19 lines) | stat: -rwxr-xr-x 309 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

include /usr/share/ocaml/ocamlvars.mk

INSTALLDIR=$(CURDIR)/debian/tmp

%:
	dh $@ --with ocaml

override_dh_auto_build:
	make
	make doc
	find -H doc -name ".dune-keep" -delete

override_dh_auto_install:
	PREFIX=$(INSTALLDIR) LIBDIR=usr/lib/ocaml make install
	dh_install

override_dh_dwz: