Generate manpages for stdlib on bytecode-only architectures
authorStephane Glondu <steph@glondu.net>
Fri, 20 Feb 2009 07:02:16 +0000 (08:02 +0100)
committerStephane Glondu <steph@glondu.net>
Fri, 20 Feb 2009 08:39:37 +0000 (09:39 +0100)
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

index e68e74f4c0895d350b7021aefc071c5a460c5710..0bbd8a9331607df80f432368082b5884e8f72c64 100755 (executable)
@@ -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