Closed dbuenzli closed 10 years ago
This may also solve #88.
Doesn't seem to solve #88.
After more thoughts, I think we should get ride of all ocamlfind calls in the Makefile (and thus use only Direct
calls).
I think it's a bad idea. E.g. you will have to resetup
after changing switches. The makefile will be too context dependent.
well the Makefile will be explicit about what it depends on (ie. it will use absolute path to all the artifacts it needs to build the project) -- but this will also means that opam reinstall xxx && make
will work as expected: ie. it will recompile the part of your local project which depends on anything exposed by `xxx.
But this won't work if the opam resintall xxx
introduces new dependencies in xxx
.
If I'm not mistaken there are still some
Direct
usage of ocamlfind in thesetup
generation (e.g. package lookup with -r), I think we should move away from that. (because we may want to distribute Makefiles and because we want to be able toopam switch
without resetup
).