The following commit has been merged in the master branch:
commit cb4f640bba7fcc64184c9c7364ca300801a211c6
Author: Stefano Zacchiroli <[EMAIL PROTECTED]>
Date:   Sun May 4 10:24:19 2008 +0200

    draft debian/rules

diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5c458ae
--- /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 = res
+PKG_NAME = lib$(LIB_NAME)-ocaml-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)
+

-- 
res packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to