File: rules

package info (click to toggle)
ocamlpam 1.1-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 116 kB
  • ctags: 206
  • sloc: ansic: 540; ml: 204; makefile: 51
file content (18 lines) | stat: -rwxr-xr-x 542 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
# -*- makefile -*-
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/rules/ocaml.mk

PKGNAME = libpam-ocaml-dev
DESTDIR := $(CURDIR)/debian/tmp$(OCAML_STDLIB_DIR)
DOCDIR = $(CURDIR)/debian/doc/html
OCAML_OCAMLDOC_PACKAGES = $(OCAML_LIBDEV_PACKAGES)

DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DESTDIR)
DEB_MAKE_BUILD_TARGET = META byte

ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
	DEB_MAKE_BUILD_TARGET += opt
endif