summaryrefslogtreecommitdiff
path: root/ocamldoc/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Do not build bytecode executables with -g by defaultXavier Leroy2023-02-021-1/+1
| | | | | | This makes them too big. Just use -g for selected executables that we often want to debug using ocamldebug (ocamlc, ocamlopt), and for the ocaml toplevel, which can be run with backtraces enabled.
* Less verbose logs from `make` (#11844)Xavier Leroy2023-01-181-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Print concise summaries instead of full commands for some of the most verbose commands. For example, print ``` OCAMLC lambda/switch.cmo ``` instead of ``` ./boot/ocamlrun ./boot/ocamlc -nostdlib -I ./boot -use-prims runtime/primitives -g -strict-sequence -principal -absname -w +a-4-9-40-41-42-44-45-48 -warn-error +a -bin-annot -strict-formats -I lambda -I utils -I parsing -I typing -I bytecomp -I file_formats -I lambda -I middle_end -I middle_end/closure -I middle_end/flambda -I middle_end/flambda/base_types -I asmcomp -I driver -I toplevel -I tools -c lambda/switch.ml ``` and ``` CC runtime/addrmap.b.o ``` instead of ``` gcc -c -O2 -fno-strict-aliasing -fwrapv -pthread -g -Wall -Werror -fno-common -fexcess-precision=standard -fno-tree-vrp -ffunction-sections -I./runtime -D_FILE_OFFSET_BITS=64 -DCAMLDLLIMPORT= -DIN_CAML_RUNTIME -o runtime/addrmap.b.o runtime/addrmap.c ``` The output is generated with the Make function `$(info ...)` to avoid shelling out to `echo` each time, which can be expensive under Cygwin. A variable `V` controls whether to use the new style. When `V=0` (the default), it is used. If `V=1`, then the usual full output is used instead. Co-authored-by: Nicolás Ojeda Bär <n.oje.bar@gmail.com>
* Stop passing -safe-string when building the compiler and in the testsuiteSébastien Hinderer2022-09-111-1/+1
| | | | | | PR #1252 has made the safe-string mode the default so passing -safe-string explicitly has become useless since this PR has been merged, even more useless since support for mutable strings was removed in OCaml 5.0.
* Pass the same flags to ocamlyacc consistentlySébastien Hinderer2022-08-251-2/+0
| | | | | | | Make sure ocamlyacc is always called with -v and --strict. Before this commit, the parsers of the debugger and of ocamltest were not generated using these options.
* Add missing pattern to make -C ocamldoc cleanDavid Allsopp2022-07-221-1/+1
|
* Let configure generate the META files, with a proper version numberSébastien Hinderer2022-07-181-0/+1
|
* Add META files (#11007)Nicolás Ojeda Bär2022-07-011-1/+1
|
* Report warning 70 about missing interfaces as an errorSébastien Hinderer2022-06-301-1/+1
|
* Provide an interface for ocamldoc's odoc_todo moduleSébastien Hinderer2022-06-301-2/+2
|
* Provide an interface for ocamldoc's odoc_dot moduleSébastien Hinderer2022-06-301-3/+3
|
* Provide an interface for ocamldoc's odoc_html moduleSébastien Hinderer2022-06-301-3/+3
|
* Provide an interface for ocamldoc's odoc_ocamlhtml moduleSébastien Hinderer2022-06-301-2/+2
| | | | | This commit also removes a few unused values, one unused type constructor and one exception from this module.
* Provide an interface for ocamldoc's odoc_latex moduleSébastien Hinderer2022-06-301-2/+3
|
* Provide an interface for ocamldoc's odoc_latex_style moduleSébastien Hinderer2022-06-301-2/+2
| | | | This commit also removes two unused value declarations from the module.
* Provide an interface for ocamldoc's odoc_man moduleSébastien Hinderer2022-06-301-1/+1
|
* Provide an interface for ocamldoc's odoc_texi moduleSébastien Hinderer2022-06-301-1/+1
|
* Provide an interface for ocamldoc's odoc_to_text moduleSébastien Hinderer2022-06-301-1/+1
|
* Provide an interface for ocamldoc's odoc_dep moduleSébastien Hinderer2022-06-301-1/+2
| | | | This commit also removes the unused graph type.
* ocamldoc: remove the empty odoc_inherit moduleSébastien Hinderer2022-06-301-1/+0
|
* ocmaldoc: remove the empty odoc_control moduleSébastien Hinderer2022-06-301-1/+0
|
* Provide an interface for ocamldoc's odoc_type moduleSébastien Hinderer2022-06-301-1/+1
|
* Provide an interface for ocamldoc's odoc_value moduleSébastien Hinderer2022-06-301-1/+1
|
* Provide an interface for ocamldoc's odoc_parameter moduleSébastien Hinderer2022-06-301-1/+1
|
* Provide an interface for ocamldoc's odoc_text_lexer moduleSébastien Hinderer2022-06-301-1/+1
| | | | This commit also removes a few unused values from odoc_text_lexer.mll
* Provide an interface for ocamldoc's odoc_messages moduleSébastien Hinderer2022-06-301-1/+2
|
* Enable warning 70 about missing interfacesSébastien Hinderer2022-06-301-1/+1
| | | | | | | But make sure not to turn it into an error, so that all the warnings get printed. It will be turned into an error once all the interfaces have been added.
* otherlibs: Merge win32unix into unixSébastien Hinderer2022-04-101-6/+5
|
* Build system: ocaml{doc,lex} should be compiled and linked with -gSébastien Hinderer2022-03-311-3/+4
|
* Factorize the definition of the standard library flagsSébastien Hinderer2022-03-311-3/+2
|
* Build system: also factorize the inclusion of directories when calling ocamldepSébastien Hinderer2022-03-221-19/+11
|
* Build system: factorize the definitions related to ocamldepSébastien Hinderer2022-03-221-5/+2
|
* Build system: normalize the invocations of ocamldepSébastien Hinderer2022-03-221-4/+5
|
* Add the distclean target to ocamldoc/MakefileSébastien Hinderer2022-01-181-0/+3
|
* Remove no longer used SRC from ocamldoc/MakefileDavid Allsopp2021-08-291-2/+0
|
* Build system: replace suffix rules by pattern rulesSébastien Hinderer2021-04-271-6/+4
|
* Build system: provide a default value for OCAMLLEXSébastien Hinderer2021-04-141-1/+0
| | | | Each directory can override this default value.
* documentation: configuration switch for an odoc documentation mode (#9997)Florian Angeletti2021-04-071-37/+0
|
* added warning for missing mli interface fileAnukriti122021-03-311-1/+1
|
* stop using single letter in warning settingsoctachron2021-03-151-1/+1
| | | | | | - Replace -w A with -w +A in various makefiles and tests. - Replace -w a with -w -a in tests. - Replace -w Ae with -w +A -w -fragile-matching
* Build system: deduplicate the rules used to generate the lexers and parsersSébastien Hinderer2021-03-021-7/+0
|
* ocamldoc/Makefile: Use generic rules to generate lexers and parsersSébastien Hinderer2021-03-021-28/+13
|
* Build system: rename the OCAMLLEX_FLAGS to OCAMLLEXFLAGSSébastien Hinderer2021-03-021-5/+5
|
* Move doc to api_docgen and restore installationoctachron2020-12-021-7/+0
|
* Appveyor build fixoctachron2020-12-021-33/+1
|
* doc: centralized, parallel, incremental manpagesFlorian Angeletti2020-12-021-57/+0
|
* Build system: simplify installation rulesSébastien Hinderer2020-06-181-3/+2
| | | | | | Now that programs are built with their $(EXE) suffix, their installation rules can be simplified a bit because most of the programs get installed under the name they have been built with.
* Add the $(EXE) suffix to all programs at build rather than install timeSébastien Hinderer2020-06-181-7/+14
| | | | | | | | This commit touches neither boot/ocamlc nor boot/ocamllex It has the side-effect of fixing the cleanup rules which did not use the $(EXE) extension when removing a file although it was produced with the $(EXE) extension.
* ocamldoc: remove debugging facilitySébastien Hinderer2020-06-091-20/+4
|
* makefiles: move the inclusion of Makefile.build_config in Makefile.commonGabriel Scherer2020-05-061-1/+0
|
* Cease committing C dependendency informationDavid Allsopp2020-04-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | When building for the first time, the only requirement is that generated header files have been built (jumptbl.h, version.h and opnames.h). Detailed dependency information is only required when headers have been edited. COMPUTE_DEPS in Makefile.config controls whether C dependency information should be generated on a per-file basis. This variable is controlled by a new --disable-dependency-generation in configure which is enabled for Git checkouts and disabled for tarballs (i.e. releases). The Microsoft C compiler (cl) cannot generate dependencies in a consistent way which we can consume, so for a Git checkout configure searches for an additional C compiler in order to compute dependencies. This is obviously not required for a user-build. As a result, the MSVC port can now safely run make alldepend, since only OCaml dependency information is committed to the repo after this change. CI does not need to waste time testing the dependency information, because it only tests a single build. A single Travis job has been added which tests the build system code to generate the dependency information (and provides a single `make -j` run in CI, although Inria's CI also tests parallel building continuously).