[ocamlbuild manual] Updating to the new location of the log file.

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8620 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Nicolas Pouillard 2007-11-26 13:06:00 +00:00
parent ef00b672ec
commit fe492f4516
1 changed files with 4 additions and 6 deletions

View File

@ -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