[Pkg-ocaml-maint-commits] [SCM] camlbz2 packaging branch, master, updated. a0c9736cd8802ed2ae6c4df0920f805c253abdea
Stefano Zacchiroli
zack at upsilon.cc
Sat Nov 8 17:20:20 UTC 2008
The following commit has been merged in the master branch:
commit a0c9736cd8802ed2ae6c4df0920f805c253abdea
Author: Stefano Zacchiroli <zack at upsilon.cc>
Date: Sat Nov 8 17:43:30 2008 +0100
install .so into libbz2-ocaml
diff --git a/debian/rules b/debian/rules
index 926030e..354e37b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,14 +5,19 @@ include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/class/ocaml.mk
LIB_NAME = bz2
+DLL_PKG_NAME = lib$(LIB_NAME)-ocaml
DEV_PKG_NAME = lib$(LIB_NAME)-ocaml-dev
DEST_DIR = $(CURDIR)/debian/$(DEV_PKG_NAME)$(OCAML_STDLIB_DIR)
+DLL_DEST_DIR = $(CURDIR)/debian/$(DLL_PKG_NAME)$(OCAML_DLL_DIR)
DEB_MAKE_BUILD_TARGET = all
DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(DEST_DIR)
-# TG_BRANCHES = features/flexi-build
-TG_BRANCHES =
+binary-install/$(DEV_PKG_NAME)::
+ mkdir -p $(DLL_DEST_DIR)
+ mv $(DEST_DIR)/bz2/*.so $(DLL_DEST_DIR)
+
+TG_BRANCHES = fixes/make
SAVED_BRANCH := $(shell git branch 2> /dev/null | grep '^*' | cut -f 2 -d' ')
tg-export:
tg create stage-debian $(TG_BRANCHES)
--
camlbz2 packaging
More information about the Pkg-ocaml-maint-commits
mailing list