blob: f09e0b2901a53f89215f74bcd58303a93b7f7fee (
plain)
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 -*-
include /usr/share/ocaml/ocamlvars.mk
DEB_DESTDIR = $(CURDIR)/debian/ivy-ocaml
DEB_OCAML_DESTDIR = $(DEB_DESTDIR)$(OCAML_STDLIB_DIR)
export OCAMLFIND_DESTDIR = $(DEB_OCAML_DESTDIR)
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@ --with ocaml
override_dh_auto_install :
mkdir -p $(DEB_OCAML_DESTDIR)
mkdir -p $(DEB_OCAML_DESTDIR)/stublibs
$(MAKE) DESTDIR=$(DEB_DESTDIR) install
.PHONY: override_dh_auto_install
|