Correct implementation of --disable-stdlib-manpages
parent
dce967139c
commit
9c5d7c1112
4
Changes
4
Changes
|
@ -328,6 +328,10 @@ Working version
|
|||
(Florian Angeletti, Stefan Muenzel and Thomas Refis, review by Gabriel Scherer
|
||||
and Thomas Refis)
|
||||
|
||||
- #9335: actually have --disable-stdlib-manpages not build the manpages
|
||||
(implementation conflicted with #8837 which wasn't picked up in review)
|
||||
(David Allsopp, review by Florian Angeletti and Sébastien Hinderer)
|
||||
|
||||
- #9343: Re-enable `-short-paths` for some error messages
|
||||
(Leo White, review by Florian Angeletti)
|
||||
|
||||
|
|
4
Makefile
4
Makefile
|
@ -233,7 +233,7 @@ opt.opt: checknative
|
|||
$(MAKE) otherlibrariesopt
|
||||
$(MAKE) ocamllex.opt ocamltoolsopt ocamltoolsopt.opt $(OCAMLDOC_OPT) \
|
||||
$(OCAMLTEST_OPT)
|
||||
ifneq "$(WITH_OCAMLDOC)" ""
|
||||
ifeq "$(WITH_OCAMLDOC)-$(STDLIB_MANPAGES)" "ocamldoc-true"
|
||||
$(MAKE) manpages
|
||||
endif
|
||||
|
||||
|
@ -264,7 +264,7 @@ all: coreall
|
|||
$(MAKE) ocaml
|
||||
$(MAKE) otherlibraries $(WITH_DEBUGGER) $(WITH_OCAMLDOC) \
|
||||
$(WITH_OCAMLTEST)
|
||||
ifneq "$(WITH_OCAMLDOC)" ""
|
||||
ifeq "$(WITH_OCAMLDOC)-$(STDLIB_MANPAGES)" "ocamldoc-true"
|
||||
$(MAKE) manpages
|
||||
endif
|
||||
|
||||
|
|
|
@ -185,14 +185,8 @@ LIBCMOFILES = $(CMOFILES)
|
|||
LIBCMXFILES = $(LIBCMOFILES:.cmo=.cmx)
|
||||
LIBCMIFILES = $(LIBCMOFILES:.cmo=.cmi)
|
||||
|
||||
ifeq "$(STDLIB_MANPAGES)" "true"
|
||||
DOCS_TARGET = manpages
|
||||
else
|
||||
DOCS_TARGET =
|
||||
endif
|
||||
|
||||
.PHONY: all
|
||||
all: lib exe generators $(DOCS_TARGET)
|
||||
all: lib exe generators
|
||||
|
||||
.PHONY: exe
|
||||
exe: $(OCAMLDOC)
|
||||
|
|
Loading…
Reference in New Issue