[Pkg-ocaml-maint-commits] [SCM] OCaml packaging branch, master, updated. debian/3.11.0-3-10-gfd1fa81

Stephane Glondu steph at glondu.net
Fri Feb 20 08:55:49 UTC 2009


The following commit has been merged in the master branch:
commit 2a81b94e3e2b6173f800b672ae4f440c172ebae6
Author: Stephane Glondu <steph at glondu.net>
Date:   Fri Feb 20 08:02:16 2009 +0100

    Generate manpages for stdlib on bytecode-only architectures
    
    These are generated by the opt.opt target, so they were not compiled
    on bytecode-only architectures. This commit also incidentally fixes
    current FTBFS on these architectures.

diff --git a/debian/rules b/debian/rules
index e68e74f..0bbd8a9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -98,7 +98,11 @@ ifeq ($(BUILDCACHE),)
 	$(MAKE) world
 	$(MAKE) bootstrap
 	$(MAKE) -C tools objinfo dumpobj
-ifneq (,$(OCAML_OPT_ARCH))
+ifeq (,$(OCAML_OPT_ARCH))
+# As of 3.11.0, manpages are made only in `make opt.opt'
+	make -C ocamldoc manpages \
+	  OCAMLDOC_RUN="../boot/ocamlrun -I ../otherlibs/unix -I ../otherlibs/str ./ocamldoc"
+else
 	@echo "Building native compilers"
 	$(MAKE) opt opt.opt
 	$(MAKE) -C tools dumpapprox

-- 
OCaml packaging



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