Debian Codegraph @

api_docgen/Makefile

raw symbols SCIP
1 #**************************************************************************
2 #* *
3 #* OCaml *
4 #* *
5 #* Florian Angeletti, projet Cambium, Inria Paris *
6 #* *
7 #* Copyright 2020 Institut National de Recherche en Informatique et *
8 #* en Automatique. *
9 #* *
10 #* All rights reserved. This file is distributed under the terms of *
11 #* the GNU Lesser General Public License version 2.1, with the *
12 #* special exception on linking described in the file LICENSE. *
13 #* *
14 #**************************************************************************
15 # Used by included Makefiles
16 ROOTDIR = ..
17 -include ../Makefile.build_config
18
19 odoc-%:
20 $(MAKE) -C odoc $*
21
22 ocamldoc-%:
23 $(MAKE) -C ocamldoc $*
24
25 ifeq ($(DOCUMENTATION_TOOL),odoc)
26 man: odoc-man
27 latex: odoc-latex
28 html: odoc-html
29 @echo "documentation is in ./api_docgen/odoc/build/html/"
30 all: html latex man
31 install: odoc-install
32 else
33 man: ocamldoc-man
34 latex: ocamldoc-latex
35 html: ocamldoc-html
36 @echo "documentation is in ./api_docgen/ocamldoc/build/html/"
37 texi: ocamldoc-texi
38 pdf: ocamldoc-pdf
39 all: html pdf man latex texi
40 install: ocamldoc-install
41 endif
42
43 clean:
44 rm -rf build odoc/build ocamldoc/build
45
46 distclean: clean
47
48 .PHONY: html latex man clean distclean install texi pdf