File: rules

package info (click to toggle)
xstr 0.2.1-25
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 256 kB
  • sloc: ml: 1,069; makefile: 82; sh: 1
file content (17 lines) | stat: -rwxr-xr-x 304 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

include /usr/share/ocaml/ocamlvars.mk

PKGNAME = libxstr-ocaml-dev

%:
	dh $@ --with ocaml

override_dh_auto_build:
	dh_auto_build
ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
	$(MAKE) opt
endif

override_dh_auto_install:
	$(MAKE) install DESTDIR=$(CURDIR)/debian/$(PKGNAME)/$(OCAML_STDLIB_DIR)