[Pkg-ocaml-maint-commits] [SCM] dose2 packaging branch, master, updated. f4d263293baabc9560a977dc7c81d598088139b6

Stefano Zacchiroli zack at upsilon.cc
Wed Apr 16 20:49:22 UTC 2008


The following commit has been merged in the master branch:
commit ad525c6629f5d7005813a21922bf6b4391316438
Author: Stefano Zacchiroli <zack at upsilon.cc>
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



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