Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* [Caml-list] ocamlbuild, build a source that starts with _
@ 2016-02-09 13:35 Daniel Bünzli
  2016-02-09 14:45 ` Daniel Bünzli
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Bünzli @ 2016-02-09 13:35 UTC (permalink / raw)
  To: OCaml List

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 



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-09 15:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-09 13:35 [Caml-list] ocamlbuild, build a source that starts with _ Daniel Bünzli
2016-02-09 14:45 ` Daniel Bünzli
2016-02-09 14:47   ` Gabriel Scherer
2016-02-09 15:06     ` Daniel Bünzli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox