Open lpw25 opened 10 years ago
So the cause of this bug is that my source files are in the directory in which I run make
(the root directory). Since the current directory is automatically included in ocamldep
's search path, it finds the orginal .ml
/.mli
files and sets a dependency on them instead of the symlinks in the _build
directory.
The obvious work-around is to put my source files in their own directory.
I think that assemblage
should be able to handle source files in the root directory. Perhaps it should run all build commands from the _build
directory to avoid accidently capturing existing files in their search paths.
Ha yes indeed I've already been indirectly by this bug ... I think that commands should be run in the builddir indeed.
Th
Le 15 août 2014 à 11:44, Leo White notifications@github.com a écrit :
So the cause of this bug is that my source files are in the directory in which I run make (the root directory). Since the current directory is automatically included in ocamldep's search path, it finds the orginal .ml/.mli files and sets a dependency on them instead of the symlinks in the _build directory.
So the obvious work-around is to put my source files in their own directory.
I think that assemblage should be able to handle source files in the root directory. Perhaps it should run all build commands from the _build directory to avoid accidently capturing existing files in their search paths.
— Reply to this email directly or view it on GitHub.
Running make gives me the following error:
I have the following
assemble.ml
which generates the following
Makefile
:The error is cuased by
_build/lib-opam-units/opamUnit.mli.d
which looks like: