I have a system that is compossed of many small libraries and
binaries. I wanted to be able to move the sources of some of
these libraries and binaries to other systems without a lot
of change. So, I choose to have an "install" for each library
and binary. This works really well, but there's 1 problem:
The generated ".hi" files make dependencies go wrong in
certain cases. Is there a way to force ghc to look for ".hs"
and ".lhs" files in the current directory first ? It now
looks for ".hi" files first, so if I do:
- make install
- make clean
- make
I end up with the dependencies pointing to the installed
".hi" files instead of to the local ones.

I worked around this by doing an uninstall when I do a clean,
but this is ugly.

  Jan

Reply via email to