caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: OCaml List <caml-list@inria.fr>
Subject: [Caml-list] ocamlbuild, build a source that starts with _
Date: Tue, 9 Feb 2016 14:35:06 +0100	[thread overview]
Message-ID: <4B26262D14BF4F84831E38B7A65B3B14@erratique.ch> (raw)

Hello,

It seems I can't convince ocamlbuild to build (i.e. copy) a source that starts with `_`. 
Is there a workaround ? 

  mkdir -p /tmp/test
  cd /tmp/test/
  touch _bla.c
  ocamlbuild _bla.c
  Solver failed:
  Ocamlbuild knows of no rules that apply to a target named _bla.c. This can happen if you    ask Ocamlbuild to build a target with the wrong extension (e.g. .opt instead of .native) or if the source files live in directories that have not been specified as include directories.
Compilation unsuccessful after building 0 targets (0 cached) in 00:00:00.

Daniel 



             reply	other threads:[~2016-02-09 13:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-09 13:35 Daniel Bünzli [this message]
2016-02-09 14:45 ` Daniel Bünzli
2016-02-09 14:47   ` Gabriel Scherer
2016-02-09 15:06     ` Daniel Bünzli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B26262D14BF4F84831E38B7A65B3B14@erratique.ch \
    --to=daniel.buenzli@erratique.ch \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).