-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
documentation: configuration switch for an odoc documentation mode (#…
- Loading branch information
Showing
28 changed files
with
697 additions
and
263 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
#************************************************************************** | ||
#* * | ||
#* OCaml * | ||
#* * | ||
#* Florian Angeletti, projet Cambium, Inria Paris * | ||
#* * | ||
#* Copyright 2020 Institut National de Recherche en Informatique et * | ||
#* en Automatique. * | ||
#* * | ||
#* All rights reserved. This file is distributed under the terms of * | ||
#* the GNU Lesser General Public License version 2.1, with the * | ||
#* special exception on linking described in the file LICENSE. * | ||
#* * | ||
#************************************************************************** | ||
ROOTDIR = .. | ||
DOCGEN= $(ROOTDIR)/api_docgen | ||
|
||
-include $(ROOTDIR)/stdlib/StdlibModules | ||
include $(ROOTDIR)/Makefile.common | ||
include $(ROOTDIR)/Makefile.best_binaries | ||
include $(DOCGEN)/Makefile.docfiles | ||
|
||
DOC_COMPILERLIBS_DIRS= $(addprefix $(ROOTDIR)/,\ | ||
parsing utils typing bytecomp driver file_formats lambda) | ||
|
||
DOC_STDLIB_DIRS = $(addprefix $(ROOTDIR)/, stdlib \ | ||
otherlibs/str otherlibs/$(UNIXLIB) otherlibs/dynlink \ | ||
otherlibs/systhreads) | ||
|
||
.PHONY: all | ||
all: html pdf man | ||
|
||
DIRS = $(addprefix build/,libref compilerlibref man latex texi \ | ||
html html/libref html/compilerlibref) | ||
|
||
$(DIRS): | ||
$(MKDIR) $@ | ||
|
||
pdf: build/latex/alldoc.pdf | ||
latex: | ||
man: | ||
html: | ||
build/latex/alldoc.pdf: build/latex/stdlib_input.tex \ | ||
build/latex/compilerlibs_input.tex | build/latex/ifocamldoc.tex | ||
|
||
$(DOCGEN)/build/Compiler_libs.mld: $(DOCGEN)/Compiler_libs.pre.mld | ||
cp $< $@ && echo "{!modules:$(compilerlibref_C)}" >> $@ | ||
|
||
build/latex/ifocamldoc.tex: $(ROOTDIR)/Makefile.config | build/latex | ||
|
||
build/latex/alldoc.tex:$(DOCGEN)/alldoc.tex | build/latex | ||
cp $< $@ | ||
|
||
$(compilerlibref_TEXT:%=build/%.mld) $(libref_TEXT:%=build/%.mld): \ | ||
build/%.mld:$(DOCGEN)/%.mld | ||
cp $< $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.