From 2a81b94e3e2b6173f800b672ae4f440c172ebae6 Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Fri, 20 Feb 2009 08:02:16 +0100 Subject: [PATCH] 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. --- debian/rules | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index e68e74f4..0bbd8a93 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 -- 2.30.2