[Pkg-ocaml-maint-commits] [SCM] type-conv packaging branch, master, updated. 7b8896d594d98041cfac30837687f8b06af3b3fc

Stefano Zacchiroli zack at upsilon.cc
Sun May 4 13:29:00 UTC 2008


The following commit has been merged in the master branch:
commit 456ebb7740609c578f10f7c18e37f41a6efc9dd4
Author: Stefano Zacchiroli <zack at upsilon.cc>
Date:   Sun May 4 15:23:36 2008 +0200

    draft debian/rules

diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..43fb918
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/class/ocaml.mk
+
+LIB_NAME = type-conv
+PKG_NAME = lib$(LIB_NAME)-camlp4-dev
+DESTDIR = $(CURDIR)/debian/$(PKG_NAME)$(OCAML_STDLIB_DIR)
+
+ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
+DEB_MAKE_BUILD_TARGET = all
+DEB_MAKE_INSTALL_TARGET = install OCAMLFIND_INSTFLAGS="-destdir $(DESTDIR)"
+else
+DEB_MAKE_BUILD_TARGET = byte
+DEB_MAKE_INSTALL_TARGET = libinstall-byte-code OCAMLFIND_INSTFLAGS="-destdir $(DESTDIR)"
+endif
+
+build/$(PKG_NAME)::
+	mkdir -p $(DESTDIR)
+

-- 
type-conv packaging



More information about the Pkg-ocaml-maint-commits mailing list