diff --git a/doc/Makefile b/doc/Makefile index 89ef1c0fec6..9bb6c85a537 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -11,12 +11,9 @@ else JBUILDER_FILE= endif -BASESRC=../_build/default/src - ifndef OPAM OPAM = $(JBUILDER) exec -- opam endif -SRCDIR = $(sort $(foreach x,$(wildcard $(BASESRC)/*/*),$(dir $x))) TOPICS = $(shell $(OPAM) help topics) TOPICS_ADMIN = cache filter index lint list upgrade @@ -27,14 +24,6 @@ ifndef OPAM_INSTALLER OPAM_INSTALLER = $(JBUILDER) exec -- opam-installer endif -SRCEXTDIR = ../src_ext/lib - -ifneq ($(wildcard $(SRCEXTDIR)),) - OCAMLDOC = ocamldoc $(patsubst %,-I %,$(SRCDIR) $(SRCEXTDIR) +compiler-libs) -else - OCAMLDOC = ocamlfind ocamldoc $(patsubst %,-package %,$(PACKS) compiler-libs.toplevel) $(patsubst %,-I %,$(SRCDIR)) -endif - .PHONY: man html dev-manual pages all: man dev html pages @@ -52,25 +41,41 @@ man: $(OPAM_INSTALLER) $(HELPFMT) > man/opam-installer.1 man-html: man - rm -rf $@ + rm -rf man-html mkdir -p $@ - for f in $(wildcard man/*); do\ - man2html -r $$f > man-html/$$(basename $$f .1).html;\ + echo '' >$@/index.html + echo '
' >>$@/index.html + echo 'src/core |
+ src/core |
opam-core library |
---|---|---|
opamVersion.ml | +||
opamVersion.ml | (generated) Current opam version | |
opamCoreConfig.ml | +||
opamCoreConfig.ml | Configuration options for this lib (record, global reference and setter) | |
opamVersionCompare.ml | +||
opamVersionCompare.ml | Version comparison function used throughout. From the Dose suite. | |
opamJson.ml | +||
opamJson.ml | Wrapper on Jsonm; only needed for some debug options | |
opamStd.ml | +||
opamStd.ml | Generic stdlib functions (String, List, Option, Sys submodules...) | |
opamConsole.ml | +||
opamConsole.ml | Console output, ANSI color, logging and user querying | |
opamCompat.ml.4.01/4.02 | +||
opamCompat.ml.4.01/4.02 | Compatibility layer (Bytes, etc.) for different OCaml versions | |
System handling | ||
opamProcess.ml | +||
opamProcess.ml | Process and job handling, with logs, termination status, etc. | |
opamSystem.ml | +||
opamSystem.ml | Bindings of lots of filesystem and system operations | |
opamHash.ml | +||
opamHash.ml | Type and computation of file checksums | |
opamFilename.ml | +||
opamFilename.ml | Higher level file and directory name manipulation AND file operations, wrappers on OpamSystem using the filename type | -|
opamDirTrack.ml | +||
opamDirTrack.ml | Tracking of changes in a given filesystem subtree | |
opamParallel.ml | +||
opamParallel.ml | Parallel execution of jobs following a directed graph | |
opamUrl.ml | +||
opamUrl.ml | URL parsing and printing, with support for our different backends | |
Windows support | ||
opamStubsTypes.ml | +||
opamStubsTypes.ml | Types in the stubs definitions (shared between both implementations) | |
opamStubs.ml | +||
opamStubs.ml | C stubs for Windows. A “dummy” alternate is provided for Unix, which doesn’t require any C code | |
src/format |
+ src/format |
opam-format library |
opamFormatConfig.ml | +||
opamFormatConfig.ml | Configuration options for this lib (record, global reference and setter) | |
opamTypes.mli | +||
opamTypes.mli | Definitions of many types used throughout | |
opamTypesBase.ml | +||
opamTypesBase.ml | Helper functions on the base types. Often opened | |
opamPath.ml | +||
opamPath.ml | Defines the file hierarchy in ~/.opam | |
basic types, used as keys | ||
opamPackage.ml | +||
opamPackage.ml | The package type, and package name type (name+version, values often called "nv" in the code) | |
opamRepositoryName.ml | +||
opamRepositoryName.ml | The repository type | |
opamSwitch.ml | +||
opamSwitch.ml | The switch type | |
opamVariable.ml | +||
opamVariable.ml | opam variables with scope (global or module) | |
more advanced types | ||
opamFilter.ml | +||
opamFilter.ml | Formulas on variables, as used in opam files build scripts | |
opamFormula.ml | +||
opamFormula.ml | Formulas on packages, opt. with sub-formulas on versions, and conversion functions | |
file format | ||
opamLineLexer.mll | +||
opamLineLexer.mll | A simple lexer to list of lines, which are lists of words | |
opamPp.ml | +||
opamPp.ml | Bidirectional transformations on top of the parser and printer | |
opamFormat.ml | +||
opamFormat.ml | opam config files syntax and conversion tools | |
opamFile.ml | +||
opamFile.ml | Handles all opam file formats as record types and submodules, conversion to and from syntax | |
src/repository |
+ src/repository |
opam-repository library |
opamRepositoryConfig.ml | +||
opamRepositoryConfig.ml | Configuration options for this lib (record, global reference, setter, initialisation) | |
opamRepositoryBackend.ml | +||
opamRepositoryBackend.ml | Signature for repository handlers and some helpers for the repository type | |
opamRepositoryPath.ml | +||
opamRepositoryPath.ml | Defines the file hierarchy in repositories | |
opamDownload.ml | +||
opamDownload.ml | Configuration init and handling of downloading commands | |
opamHTTP.ml | +||
opamHTTP.ml | Main HTTP backend | |
opamLocal.ml | +||
opamLocal.ml | Rsync backend, for local or ssh sources | |
opamVCS.ml | +||
opamVCS.ml | Layer for handling version control sources | |
opamDarcs.ml | +||
opamDarcs.ml | Darcs support (through OpamVCS) | |
opamGit.ml | +||
opamGit.ml | Git support (through OpamVCS) | |
opamHg.ml | +||
opamHg.ml | Mercurial support (through OpamVCS) | |
opamRepository.ml | +||
opamRepository.ml | Operations on repositories (update, fetch...) based on the above backends | |
src/solver |
+ src/solver |
opam-solver library |
opamSolverConfig.ml | +||
opamSolverConfig.ml | Configuration options for this lib (record, global reference, setter, initialisation) | |
opamActionGraph.ml | +||
opamActionGraph.ml | Handles graphs of actions (package changes), based on ocamlgraph | |
opamCudfSolver.ml | +||
opamCudfSolver.ml | Bindings to implementation of CUDF solvers, either built-in or external | |
opamCudf.ml | +||
opamCudf.ml | Solver interaction, conversion of answer to solution | |
opamSolver.ml | +||
opamSolver.ml | Entry point, conversion of universe to cudf, dependencies computation | |
src/state |
+ src/state |
opam-state library |
opamStateConfig.ml | +||
opamStateConfig.ml | Configuration options for this lib (record, global reference, setter, initialisation) | |
opamScript.ml | +||
opamScript.ml | (generated) Shell config scripts as OCaml strings | |
opamStateTypes.mli | +||
opamStateTypes.mli | Defines the types holding global, repository and switch states | |
opamFormatUpgrade.ml | +||
opamFormatUpgrade.ml | Handles upgrade of an opam root from earlier opam versions | |
opamSysPoll.ml | +||
opamSysPoll.ml | Detection of host system (arch, os, distribution) | |
opamGlobalState.ml | +||
opamGlobalState.ml | Loading and handling of the global state of an opam root | |
opamRepositoryState.ml | +||
opamRepositoryState.ml | loading and handling of the repository state of an opam root (i.e. what is in ~/.opam/repo) | |
opamSwitchState.ml | +||
opamSwitchState.ml | Loading and querying a switch state | |
opamPackageVar.ml | +||
opamPackageVar.ml | Resolution and handling of opam variables + filters | |
opamFileTools.ml | +||
opamFileTools.ml | Generic tools for handling package metadata | |
opamSwitchAction.ml | +||
opamSwitchAction.ml | Switch-related actions and changes | |
opamEnv.ml | +||
opamEnv.ml | Process environment setup and handling, shell configuration | |
opamPinned.ml | +||
opamPinned.ml | Specific query and handling of pinned packages | |
opamUpdate.ml | +||
opamUpdate.ml | Synchronisation and downloading of repositories and package sources | |
Code for process injection shared between opamWindows.c and opam-putenv.c | ||
opamWindows.c | C stubs themselves | |
opamWin32Stubs.ml | +||
opamWin32Stubs.ml | OCaml external declarations for the stubs | |
src/client |
+ src/client |
opam-client library and exec |
opam-client library | ||
opamClientConfig.ml | +||
opamClientConfig.ml | Configuration options for this lib (record, global reference, setter, initialisation), plus helper for global setup | |
opamAction.ml | +||
opamAction.ml | Handles concrete actions on packages, like installations and removals | |
opamSolution.ml | +||
opamSolution.ml | Interface with the solver, processing of full solutions through actions | |
opamConfigCommand.ml | +||
opamConfigCommand.ml | Functions for the "opam config" subcommand | |
opamPinCommand.ml | +||
opamPinCommand.ml | Functions for the "opam pin" subcommand | |
opamRepositoryCommand.ml | +||
opamRepositoryCommand.ml | Functions for the "opam repository" subcommand | |
opamSwitchCommand.ml | +||
opamSwitchCommand.ml | Functions for the "opam switch" subcommand | |
opamListCommand.ml | +||
opamListCommand.ml | Functions for the "opam list" subcommand | |
opamInitDefaults.ml | +||
opamInitDefaults.ml | Defines the built-in "opamrc" to use by default on "opam init" | |
opamClient.ml | +||
opamClient.ml | High-level execution of the main user commands ("install", "upgrade", "remove"), and wrapper for Pin commands | |
opamAuxCommands.ml | +||
opamAuxCommands.ml | Some command helpers and extra opam management functions | |
opamAdminRepoUpgrade.ml | +||
opamAdminRepoUpgrade.ml | Handles converting package repositories from the format of older opam versions to the current format | |
opamAdminCheck.ml | +||
opamAdminCheck.ml | Implements the repository checks of the 'opam admin check' command. | |
opamGitVersion.mli | +||
opamGitVersion.mli | (generated) Current git version of opam | |
opamArg.ml | +||
opamArg.ml | Command-line argument parsers and helpers | |
opamAdminCommand.ml | +||
opamAdminCommand.ml | All sub-commands of the "opam admin" command | |
opamCommands.ml | +||
opamCommands.ml | Opam CLI commands and their handlers as Cmdliner terms | |
Main opam CLI | ||
opamMain.ml | +||
opamMain.ml | Main opam entry point | |
Auxiliary standalone tools | ||
opam_admin_top.ml | +||
opam_admin_top.ml | Tiny library for admin-scripts, included in opam-admin.top | |
opam-putenv.c | Tiny C tool used on Windows for cross-architecture process injection | |
opam_check.ml | +||
opam_check.ml | Tiny tool used in internal checks ("make tests") | |
opam_installer.ml | +||
opam_installer.ml | Handles opam's ".install" files |