debian swirl logo

Back to the packages list ocaml-expat

#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/dpatch.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

DESTDIR := $(CURDIR)/debian/tmp$(OCAML_STDLIB_DIR)
DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DESTDIR)
OCAML_OCAMLDOC_PACKAGES= $(OCAML_LIBDEV_PACKAGES)

ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
	DEB_MAKE_BUILD_TARGET = allopt NO_CUSTOM=y
else
	DEB_MAKE_BUILD_TARGET = all NO_CUSTOM=y
endif

Builds:

libexpat-ocaml-dev
ocaml expat bindings
libexpat-ocaml
ocaml expat bindings