The following commit has been merged in the master branch:
commit ad525c6629f5d7005813a21922bf6b4391316438
Author: Stefano Zacchiroli <[EMAIL PROTECTED]>
Date:   Wed Apr 16 22:48:23 2008 +0200

    install files in the appropriate packages

diff --git a/debian/rules b/debian/rules
index ca61561..ec0a019 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,4 +9,12 @@ else
 DEB_MAKE_BUILD_TARGET = byte
 endif
 
-DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(CURDIR)/debian/tmp/
+LIB_NAME = dose2
+DLL_PKG_NAME = lib$(LIB_NAME)-ocaml
+DEV_PKG_NAME = lib$(LIB_NAME)-ocaml-dev
+DEB_MAKE_INSTALL_TARGET = install 
DESTDIR=$(CURDIR)/debian/$(DEV_PKG_NAME)$(OCAML_STDLIB_DIR)
+install/$(DEV_PKG_NAME)::
+       mkdir -p debian/$(DLL_PKG_NAME)$(OCAML_DLL_DIR)
+       mv debian/$(DEV_PKG_NAME)$(OCAML_STDLIB_DIR)/mmap/*.so \
+               debian/$(DLL_PKG_NAME)$(OCAML_DLL_DIR)
+

-- 
dose2 packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to