File: rules

package info (click to toggle)
ocaml-num 1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 548 kB
  • sloc: ml: 4,448; ansic: 1,415; makefile: 213; sh: 13
file content (16 lines) | stat: -rwxr-xr-x 301 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/ocaml/ocamlvars.mk

DESTDIR=$(CURDIR)/debian/tmp
export OCAMLFIND_DESTDIR=$(DESTDIR)/$(OCAML_STDLIB_DIR)

%:
	dh $@ --with ocaml

override_dh_auto_build:
	$(MAKE) PROFILE=release

execute_before_dh_auto_install:
	mkdir -p $(OCAMLFIND_DESTDIR)