[Pkg-ocaml-maint-commits] r3165 - in /trunk/packages/netclient/trunk/debian: changelog control rules

zack at users.alioth.debian.org zack at users.alioth.debian.org
Sun Sep 17 14:19:34 UTC 2006


Author: zack
Date: Sun Sep 17 14:19:32 2006
New Revision: 3165

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=3165
Log:
ready for 3.09.3 and ocaml.mk
bugfix: ship html docs also on non native archs

Modified:
    trunk/packages/netclient/trunk/debian/changelog
    trunk/packages/netclient/trunk/debian/control
    trunk/packages/netclient/trunk/debian/rules

Modified: trunk/packages/netclient/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/netclient/trunk/debian/changelog?rev=3165&op=diff
==============================================================================
--- trunk/packages/netclient/trunk/debian/changelog (original)
+++ trunk/packages/netclient/trunk/debian/changelog Sun Sep 17 14:19:32 2006
@@ -1,3 +1,15 @@
+netclient (0.91-10) UNRELEASED; urgency=low
+
+  * debian/rules
+    - use ocaml.mk cdbs class
+    - bugfix: generate HTML documentation also on architectures not having the
+      ocaml native code compiler
+  * debian/control
+    - bumped build dependency on ocaml-nox to >= 3.09.3 since we now use
+      ocaml.mk
+
+ -- Stefano Zacchiroli <zack at debian.org>  Sun, 17 Sep 2006 16:08:26 +0200
+
 netclient (0.91-9) unstable; urgency=low
 
   * debian/control

Modified: trunk/packages/netclient/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/netclient/trunk/debian/control?rev=3165&op=diff
==============================================================================
--- trunk/packages/netclient/trunk/debian/control (original)
+++ trunk/packages/netclient/trunk/debian/control Sun Sep 17 14:19:32 2006
@@ -2,7 +2,7 @@
 Section: devel
 Priority: optional
 Maintainer: Stefano Zacchiroli <zack at debian.org>
-Build-Depends: debhelper (>> 4.0.0), ocaml-nox (>= 3.09.2), ocaml-findlib (>= 1.1), libocamlnet-ocaml-dev (>= 1.1-12), libxstr-ocaml-dev (>= 0.2.1-12), libequeue-ocaml-dev (>= 2.1.3-4), cdbs, dpatch
+Build-Depends: debhelper (>> 4.0.0), ocaml-nox (>= 3.09.3), ocaml-findlib (>= 1.1), libocamlnet-ocaml-dev (>= 1.1-12), libxstr-ocaml-dev (>= 0.2.1-12), libequeue-ocaml-dev (>= 2.1.3-4), cdbs, dpatch
 Standards-Version: 3.7.2
 XS-X-Vcs-Svn: svn://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/netclient
 

Modified: trunk/packages/netclient/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/netclient/trunk/debian/rules?rev=3165&op=diff
==============================================================================
--- trunk/packages/netclient/trunk/debian/rules (original)
+++ trunk/packages/netclient/trunk/debian/rules Sun Sep 17 14:19:32 2006
@@ -2,23 +2,16 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/makefile.mk
 include /usr/share/cdbs/1/rules/dpatch.mk
+include /usr/share/cdbs/1/class/ocaml.mk
 
 PKGNAME = libnetclient-ocaml-dev
 
-OCAMLABI := $(shell ocamlc -version)
-OCAMLLIBDIR := $(shell ocamlc -where)
-OFILES := $(filter-out debian/control,$(patsubst %.in,%,$(wildcard debian/*.in)))
-HAVE_OCAMLOPT := $(shell test -x /usr/bin/ocamlopt && echo "yes")
-DEB_DH_GENCONTROL_ARGS = -- -VF:OCamlABI="$(OCAMLABI)"
-
-ocamlinit:
-	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done
-makebuilddir/$(PKGNAME):: ocamlinit
-
-DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(CURDIR)/debian/$(PKGNAME)$(OCAMLLIBDIR)
+DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(CURDIR)/debian/$(PKGNAME)$(OCAML_STDLIB_DIR)
 
 ifeq ($(HAVE_OCAMLOPT),yes)
 build/$(PKGNAME)::
 	$(MAKE) opt
+endif
+
+build/$(PKGNAME)::
 	$(MAKE) doc
-endif




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