Eventually settling on the right way to use sed for this?

This commit is contained in:
2011-01-07 16:04:14 -08:00
parent 29a358a76a
commit 93c53c7943

View File

@@ -22,7 +22,7 @@ cmd_ghc_d_hs = $(GHC) $(GHC_FLAGS) -M -dep-makefile $@ $<
quiet_cmd_ghc_d_hs = DEPEND $(notdir $@)
%.d : %.hs
$(call cmd,ghc_d_hs)
@$(SED) -i "" "s|: hsrc|: $(TOPDIR)/hsrc|g" $@
@$(SED) -i"" "s|: hsrc|: $(TOPDIR)/hsrc|g" $@
# ghc-ld
cmd_ghc_ld = $(GHC) -o $@ $^