Bugs item #978543, was opened at 2004-06-24 07:18
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=978543&group_id=8032

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Fergus Henderson (fergus)
Assigned to: Nobody/Anonymous (nobody)
Summary: "-M" option broken with "-hisuf prof.hi"

Initial Comment:
The "-M" option doesn't work if you try to use it in
combination
with the "-hisuf" option where (as suggested in the
documentation) the "-hisuf" option value ends in ".hi".

For example, 

        ghc -M -hisuf bar.hi  Main.hs

will result in a Makefile which contains dependencies
of the form

        # DO NOT DELETE: Beginning of Haskell dependencies
        Main.o : Main.hs
        Main.o : ./Bar.bar.bar.hi
        # DO NOT DELETE: End of Haskell dependencies

Notice that the suffix used in the Makefile is
".bar.bar.hi".
It should be ".bar.hi".

Here's the example sources that I used to reproduce the
problem.

$ cat Main.hs
import Bar
main = Bar.main

$ cat Bar.hs
main = return ()


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=978543&group_id=8032
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to