Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mlpost(1) [debian man page]

MLPOST(1)						      General Commands Manual							 MLPOST(1)

NAME
mlpost - wrapper around OCaml and Metapost for the Mlpost library SYNOPSIS
mlpost [options] files... DESCRIPTION
mlpost is a program that compiles OCaml files to PostScript or PDF files using the Mlpost library. OPTIONS
-pdf Generate .mps files (default) -mp Generate .mp files -png Generate .png files -ps Generate .1 files -latex <main.tex> Scan the LaTeX prelude -eps Generate encapsulated postscript files -xpdf WYSIWYG mode using xpdf remote server (the name of the remote server is "mlpost") -v Be a bit more verbose. Otherwise nothing is printed except in case of error. -ocamlbuild Use ocamlbuild to compile -native Compile to native code -ccopt <options> Pass <options> to the Ocaml compiler -execopt <options> Pass <options> to the compiled program -version Print Mlpost version and exit -no-magic Do not parse mlpost options, do not call Metapost.dump -depend output dependency lines in a format suitable for the make(1) utility -contrib <contrib-name> compile with the specified contrib -dumpable output one name of dumpable file by line. So it print all the figures which will be created by the .ml file. -get-include-compile {cmxa|cma|dir|file} output the libraries which are needed by the library Mlpost if you want not to use the mlpost tool : - cmxa print the needed cmxa file (opt version) - cma print the needed cma file (byte version) - dir print the directories needed to be include - file print the file name inside this directory without extension -compile-name <compile-name> Keep the compiled version of the .ml file and name it <compile-name>. -dont-execute Don't execute the mlfile. So mlpost generates no figures. With this option you can check that a file compile without wasting time to generate the figures. The options -dont-execute and -compile-name can be used in conjunction to create a program which generates some figures according to some command line options. -dont-clean Don't remove intermediates files. The metapost backend use some intermediates files which are removed without this option. -cairo Use the cairo backend instead of metapost -t1disasm Set the program used to decrypt PostScript Type 1 font, only with cairo (default built-in one). This option will disappear soon. -help, --help Display the list of options SEE ALSO
mpost(1), ocamlc(1), xpdf(1). AUTHOR
Mlpost was written by Romain Bardou, Francois Bobot, Johannes Kanig, Stephane Lescuyer and Jean-Christophe Filliatre. This manual page was written by Stephane Glondu <steph@glondu.net> and completed by the Mlpost authors for the Debian project (but may be used by others). August 2009 MLPOST(1)

Check Out this Related Man Page

OCAMLBUILD(1)						      General Commands Manual						     OCAMLBUILD(1)

NAME
ocamlbuild - The OCaml project compilation tool SYNOPSIS
ocamlbuild [ -Is dir1,... ] [ -libs lib1,... ] [ -lflags flag1,... ] [ -pp flags ] [ -tags tag1,... ] [ -j parallel-jobs ] tar- get.native [ -- arg1 arg2 ... ] (same options) DESCRIPTION
ocamlbuild(1) orchestrates the compilation process of your OCaml project. It is similar in function to make(1) except that it is tailor- made to automatically compile most OCaml projects with very little user input. ocamlbuild should be invoked in the root of a clean project tree (e.g., with no leftover compilation files). Given one or more targets to compile, it scans the required subdirectories to gather information about the various files present, running tools such as ocamldep(1) to extract dependency information, and gathering optional files that fine-tune its behaviour. Target names are very significant. TARGET NAMES
ocamlbuild uses a set of target naming conventions to select the kind of objects to produce. Target names are of the form base.extension where base is usually the name of the underlying OCaml module and extension denotes the kind of object to produce from that file -- a byte code executable, a native executable, documentation... Of course extensions such as .cmo, .cma, .cmi... map to their usual counterparts. Here is a list of the most important ocamlbuild-specific extensions: .native Native code executable .byte Byte code executable .inferred.mli Interface inferred with ocamlc-i .docdir/index.html HTML documentation generated with ocamldoc OPTIONS
The following command-line options are recognized by ocamlbuild(1). -version Display the version -quiet Make as quiet as possible -verbose <level> Set the verbose level -documentation Show rules and flags -log <file> Set log file -no-log No log file -clean Remove build directory and other files, then exit -I <path> Add to include directories -Is <path,...> (same as above, but accepts a comma-separated list) -X <path> Directory to ignore -Xs <path,...> (idem) -lib <flag> Link to this ocaml library -libs <flag,...> (idem) -lflag <flag> Add to ocamlc link flags -lflags <flag,...> (idem) -cflag <flag> Add to ocamlc compile flags -cflags <flag,...> (idem) -yaccflag <flag> Add to ocamlyacc flags -yaccflags <flag,...> (idem) -lexflag <flag> Add to ocamllex flags -lexflags <flag,...> (idem) -ppflag <flag> Add to ocaml preprocessing flags -pp <flag,...> (idem) -tag <tag> Add to default tags -tags <tag,...> (idem) -ignore <module,...> Don't try to build these modules -no-links Don't make links of produced final targets -no-skip Don't skip modules that are requested by ocamldep but cannot be built -no-hygiene Don't apply sanity-check rules -no-plugin Don't build myocamlbuild.ml -no-stdlib Don't ignore stdlib modules -just-plugin Just build myocamlbuild.ml -byte-plugin Don't use a native plugin but bytecode -no-sanitize Do not enforce sanity-check rules -nothing-should-be-rebuilt Fail if something needs to be rebuilt -classic-display Display executed commands the old-fashioned way -j <N> Allow N jobs at once (0 for unlimited) -build-dir <path> Set build directory -install-dir <path> Set the install directory -where Display the install directory -ocamlc <command> Set the OCaml bytecode compiler -ocamlopt <command> Set the OCaml native compiler -ocamldep <command> Set the OCaml dependency tool -ocamlyacc <command> Set the ocamlyacc tool -ocamllex <command> Set the ocamllex tool -ocamlrun <command> Set the ocamlrun tool -- Stop argument processing, remaining arguments are given to the user program -help Display the list of options --help Display the list of options SEE ALSO
The ocamlbuild manual, ocaml(1), make(1). The OCaml user's manual, chapter Batch compilation . OCAMLBUILD(1)
Man Page