From: Stephane Glondu Date: Fri, 20 Feb 2009 07:02:16 +0000 (+0100) Subject: Generate manpages for stdlib on bytecode-only architectures X-Git-Tag: archive/raspbian/4.08.1-4+rpi1~3^2~431 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2a81b94e3e2b6173f800b672ae4f440c172ebae6;p=ocaml.git 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 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