From: Stephane Glondu Date: Fri, 13 Feb 2009 13:21:39 +0000 (+0100) Subject: Build and install dumpapprox X-Git-Tag: archive/raspbian/4.08.1-4+rpi1~3^2~449^2~13 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=be35c570b899cf83656d72501d050599d83341c6;p=ocaml.git 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 71a26f1c..925f40d5 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 Wed, 21 Jan 2009 01:00:18 +0100 + -- Stephane Glondu 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 455063e3..d1a95ad0 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 a8bc837d..63488e11 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 583a041a..2cb9c236 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