File: rules

package info (click to toggle)
camlp5-buildscripts 0.06-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 184 kB
  • sloc: ml: 537; perl: 128; makefile: 75
file content (21 lines) | stat: -rwxr-xr-x 347 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

include /usr/share/ocaml/ocamlvars.mk

DESTDIR := debian/camlp5-buildscripts

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

%:
	dh $@ --with ocaml

override_dh_auto_build:
	$(MAKE) sys

override_dh_auto_install:
	mkdir -p $(OCAMLFIND_DESTDIR)
	dh_auto_install

override_dh_auto_test:
# Needs mdx