120a121,128 > # the new ghc (6.4) produces different dep files > # If we add -odir outputdir to the ghc-M call we get proper dirs for the .o entries > # UNLESS the import are not hierarchical -> cannot use it yet > # If this is fixed then > # sed -e 's|$(dir $(2))\(.*\)\.hi|$(dir $(1))\1.o|' > $(basename $(1)).d && \ > # will do the job to rename the .hi files > # > # The grep is needed to get rid of the unnessary dep-lines produces by the new ghc 122,123c130,132 < make-hs-deps =$(HC) $(2) $(3) -M -optdep-f -optdep$(basename $(1)).d.in && \ < sed -e 's|$(basename $(2))|$(basename $(1))|' -e 's|\.hi|\.o|g' $(basename $(1)).d.in > $(basename $(1)).d && \ --- > make-hs-deps =$(call run-with-echo,$(HC) $(2) $(3) -M -optdep-f -optdep$(basename $(1)).d.in) && \ > grep "$(notdir $(1))" $(basename $(1)).d.in | \ > sed -e 's|$(basename $(2))|$(basename $(1))|' -e 's|\.hi|\.o|g' > $(basename $(1)).d && \