Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
how can I break up a long ocamlbuild _tags line?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-02-13 (08:26)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] how can I break up a long ocamlbuild _tags line?
Excerpts from Eric Cooper's message of Wed Feb 13 04:40:12 +0100 2008:
> I currently have this line in my _tags file:
>     <approx.{byte,native}>: use_unix, use_pcre, use_sha, use_syslog, use_netsys, use_netstring, use_netcgi, use_nethttpd-for-netcgi2
> and it will probably get longer.  If this were a Makefile, I'd use \
> to break it across lines.  Is there any equivalent trick?

Not yet. However you can still split it that way:

<approx.{byte,native}>: use_unix, use_pcre, use_sha, use_syslog, use_netsys
<approx.{byte,native}>: use_netstring, use_netcgi, use_nethttpd-for-netcgi2

However, I add the '\' support to ocamlbuild right now.

Nicolas Pouillard aka Ertai