File: rules

package info (click to toggle)
linksem 0.8%2Bdfsg3-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,376 kB
  • sloc: asm: 9,188; ansic: 5,856; ml: 2,918; yacc: 1,310; lex: 721; sh: 119; makefile: 63
file content (25 lines) | stat: -rwxr-xr-x 488 bytes parent folder | download | duplicates (2)
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
export DH_VERBOSE = 1

include /usr/share/ocaml/ocamlvars.mk

DESTDIR := $(CURDIR)/debian/tmp
export INSTALLDIR := $(DESTDIR)$(OCAML_STDLIB_DIR)

# use lib of lem:
# see https://github.com/rems-project/lem/blob/master/README.md#without-opam
export LEMLIB=/usr/share/lem/library

%:
	dh $@ --with ocaml

override_dh_auto_build:
	$(MAKE)

override_dh_auto_install:
	echo $(INSTALLDIR)
	mkdir -p $(INSTALLDIR)
	$(MAKE)	install

override_dh_dwz:
	dh_dwz --no-dwz-multifile