File: rules

package info (click to toggle)
eliom 9.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,088 kB
  • sloc: ml: 29,775; makefile: 297; javascript: 234; ansic: 6
file content (21 lines) | stat: -rwxr-xr-x 472 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
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

DESTDIR=$(CURDIR)/debian/tmp
BINDIR=$(DESTDIR)/usr/bin
MANDIR=$(DESTDIR)/usr/share/man

include /usr/share/ocaml/ocamlvars.mk

%:
	dh $@ --with ocaml

override_dh_auto_build:
	$(MAKE) all
	$(MAKE) man doc

override_dh_auto_install:
	opam-installer --prefix=debian/tmp/usr --libdir=$(subst /usr/,,$(OCAML_STDLIB_DIR)) --mandir=share/man --docdir=share/doc eliom.install