diff options
-rw-r--r-- | ocamlbuild/manual/manual.tex | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/ocamlbuild/manual/manual.tex b/ocamlbuild/manual/manual.tex index 7da1b5cb6..6cc671c46 100644 --- a/ocamlbuild/manual/manual.tex +++ b/ocamlbuild/manual/manual.tex @@ -149,7 +149,6 @@ total 12 drwxrwx--- 2 linus gallium 4096 2007-01-17 16:24 _build/ -rw-rw---- 1 linus gallium 43 2007-01-17 16:23 hello.ml lrwxrwxrwx 1 linus gallium 19 2007-01-17 16:24 hello.native -> _build/hello.native* --rw-r----- 1 linus gallium 460 2007-01-17 16:24 _log \end{verbatim} What's this funny \texttt{\_build} directory ? Well that's where \ocb does its dirty work of compiling. You usually won't have to look very often into this directory. Source files are be copied @@ -188,7 +187,7 @@ Hello, Caesar ! My name is _build/hello.native \subsection{The log file, verbosity and debugging} By default, if you run \ocb on a terminal, it will use some ANSI escape sequences to display a nice, one-line progress indicator. To see what commands \ocb has actually run, -you can check the contents of the \texttt{\_log} file. To change the name of the +you can check the contents of the \texttt{\_build/\_log} file. To change the name of the log file or to disable logging, use the \texttt{-log <file>} or \texttt{-no-log} options. Note that the log file is truncated at each execution of \ocb. @@ -201,8 +200,8 @@ levels produce much more output. %***) %(*** Cleaning \subsection{Cleaning} -\ocb may leave a \texttt{\_build} directory, symbolic links to executables in -that directory, and a \texttt{\_log} file. All of these can be removed safely +\ocb may leave a \texttt{\_build} directory and symbolic links to executables in +that directory (unless when using -no-links). All of these can be removed safely by hand, or by invoking \ocb with the \texttt{-clean} flag. %***) %(*** Where and how to run \ocb @@ -775,12 +774,11 @@ for different reasons (such as cross-compiling or using a wrapper such as Here are tips for configuring your version control system to ignore the files and directories generated by \ocb. -The directory \texttt{\_build}, the file \texttt{\_log} and any symbolic links +The directory \texttt{\_build} and any symbolic links pointing into \texttt{\_build} should be ignored. To do this, you must add the following ignore patterns to your version control system's ignore set: \begin{verbatim} -_log _build *.native *.byte |