[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Gordon Henriksen <gordonhenriksen@m...> |
| Subject: | Re: [Caml-list] print the version number |
On Nov 1, 2007, at 22:32, Angela Zhu wrote: > I found the following code in some OCaml file: > > fprintf ppf " Objective Caml version %s@.@." > Config.version; > > But I didn't find any file "Config.*" in the directory. > If I am using SVN to generate version number, and I have SVN keyword > "$Version$" set somewhere. > How can I get the the string and use it in a printf function? See lines 320-345 of the Makefile (the rule is utils/config.ml: utils/ config.mlp). — Gordon