[Omake] Menhir, --raw-depend, --infer, and OMake

Aleksey Nogin nogin at metaprl.org
Thu Feb 1 15:08:35 PST 2007


On 31.01.2007 20:14, Michael Furr wrote:

> I'm currently using menhir in a project which uses OMake as its build
> tool.  Everything works great except when I use --infer with menhir.  The
> problem seems to be that OMake uses the --raw-depend flag to generate the
> dependencies for .mly files, but this does not produce dependencies for
> the parser.ml file.  

The issue is that the --raw-depend is only supposed to be used when 
$(OCAMLDEP_MODULES_ENABLED) is true. This was not the case - should be 
fixed in rev. 10000.

In general, it is a good idea to enable OCAMLDEP_MODULES_ENABLED (set it 
to "true" or to $(OCAMLDEP_MODULES_AVAILABLE) ), _especially_ with 
menhir. That is - unless you case about OS X, or some other non-Windows 
case insensitive OS or filesystem - currently OCAMLDEP_MODULES_ENABLED 
is buggy there.

Aleksey


More information about the Omake mailing list