File: rules

package info (click to toggle)
syslog-ocaml 1.4-5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 200 kB
  • ctags: 115
  • sloc: ml: 414; makefile: 35; ansic: 26
file content (16 lines) | stat: -rwxr-xr-x 482 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/ocaml.mk
include /usr/share/cdbs/1/class/makefile.mk

DESTDIR = $(CURDIR)/debian/tmp/$(OCAML_STDLIB_DIR)
DEB_MAKE_INSTALL_TARGET = libinstall OCAMLFIND_DESTDIR=$(DESTDIR) OCAMLFIND_LDCONF=ignore

DEB_MAKE_BUILD_TARGET = byte-code-library NO_CUSTOM=y
ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
    DEB_MAKE_BUILD_TARGET += native-code-library
endif

build/libsyslog-ocaml::
	mkdir -p $(DESTDIR)