[Pkg-ocaml-maint-commits] [SCM] OCaml packaging branch, 3.11/master, updated. debian/3.11.0-1-2-gbe35c57

Stephane Glondu steph at glondu.net
Fri Feb 13 13:57:05 UTC 2009


The following commit has been merged in the 3.11/master branch:
commit be35c570b899cf83656d72501d050599d83341c6
Author: Stephane Glondu <steph at glondu.net>
Date:   Fri Feb 13 14:21:39 2009 +0100

    Build and install dumpapprox
    
    This tool is what we need to deal with automatic dependency generation
    with native code files.

diff --git a/debian/changelog b/debian/changelog
index 71a26f1..925f40d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,9 @@ ocaml (3.11.0-2) UNRELEASED; urgency=low
 
   * Add dbm_ldopts.dpatch, to add missing linking options for dbm
     (fixes ocsigen FTBFS)
+  * Build and install dumpapprox
 
- -- Stephane Glondu <steph at glondu.net>  Wed, 21 Jan 2009 01:00:18 +0100
+ -- Stephane Glondu <steph at glondu.net>  Fri, 13 Feb 2009 14:38:55 +0100
 
 ocaml (3.11.0-1) experimental; urgency=low
 
diff --git a/debian/clean b/debian/clean
index 455063e..d1a95ad 100644
--- a/debian/clean
+++ b/debian/clean
@@ -6,3 +6,4 @@ config/m.h
 config/s.h
 myocamlbuild_config.ml
 tools/myocamlbuild_config.ml
+tools/ocamldumpapprox
diff --git a/debian/ocaml-nox.install.in b/debian/ocaml-nox.install.in
index a8bc837..63488e1 100644
--- a/debian/ocaml-nox.install.in
+++ b/debian/ocaml-nox.install.in
@@ -1,2 +1,3 @@
 config/Makefile			/usr/lib/ocaml/#OcamlABI#/config/Makefile
 debian/native-archs		/usr/lib/ocaml/#OcamlABI#/
+OPT: tools/ocamldumpapprox           /usr/bin
diff --git a/debian/rules b/debian/rules
index 583a041..2cb9c23 100755
--- a/debian/rules
+++ b/debian/rules
@@ -115,6 +115,8 @@ build-arch-stamp: config-stamp
 ifneq ($(THIS_NATIVE_ARCH),)
 	@echo "Building native compilers"
 	$(MAKE) opt opt.opt
+	$(MAKE) -C tools dumpapprox
+	mv tools/dumpapprox tools/ocamldumpapprox
 	touch opt-built-stamp
 endif
 	touch build-arch-stamp

-- 
OCaml packaging



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