File: rules

package info (click to toggle)
not-ocamlfind 0.14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,200 kB
  • sloc: ml: 8,125; sh: 1,549; xml: 1,020; makefile: 416
file content (20 lines) | stat: -rwxr-xr-x 496 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

include /usr/share/ocaml/ocamlvars.mk

DESTDIR := debian/not-ocamlfind

OCAMLFIND_DESTDIR := $(DESTDIR)$(OCAML_STDLIB_DIR)
export OCAMLFIND_DESTDIR

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

override_dh_auto_clean:
	dh_auto_clean || true

override_dh_auto_configure:
	./configure -bindir /usr/bin -sitelib $(OCAML_STDLIB_DIR) -mandir /usr/share/man -config /etc/ocamlfind.conf -no-custom -no-topfind

override_dh_auto_install:
	dh_auto_install -- OCAMLFIND_BIN=$(DESTDIR)/usr/bin