File: rules

package info (click to toggle)
ocaml-gen 0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 528 kB
  • sloc: ml: 8,913; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 412 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

DESTDIR=$(CURDIR)/debian/tmp
include /usr/share/ocaml/ocamlvars.mk
export OCAMLFIND_DESTDIR=$(DESTDIR)$(OCAML_STDLIB_DIR)

%:
	dh $@ --with ocaml

override_dh_auto_configure:
	./configure --destdir '$(DESTDIR)' --prefix /usr --docdir /usr/share/doc/libgen-ocaml-dev

override_dh_auto_install:
	mkdir -p '$(OCAMLFIND_DESTDIR)'
	dh_auto_install

override_dh_install:
	dh_install --fail-missing