X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Makefile;h=5fc80ebd9afedaabfdc885889fba806e8167f03c;hb=212c22128d4e4175fd4f05be71a3c912dc981484;hp=01d02ff6c04e540a5a5b5c967e832d84d94d6d55;hpb=c532ff608cf445768bc122c355579563c7cb7ed8;p=ghc-hetmet.git diff --git a/Makefile b/Makefile index 01d02ff..5fc80eb 100644 --- a/Makefile +++ b/Makefile @@ -295,10 +295,17 @@ hc-file-bundle : project-check $(LN_S) . $(ProjectNameShort)-$(ProjectVersion) find $(ProjectNameShort)-$(ProjectVersion)/ghc/compiler \ $(ProjectNameShort)-$(ProjectVersion)/ghc/driver \ - $(ProjectNameShort)-$(ProjectVersion)/ghc/lib \ - $(ProjectNameShort)-$(ProjectVersion)/hslibs \ + $(ProjectNameShort)-$(ProjectVersion)/ghc/lib \ + $(ProjectNameShort)-$(ProjectVersion)/hslibs \ -name "*.hc" -o -name "*_hsc.[ch]" -o -name "*_stub.[ch]" > hc-files-to-go - tar czf $(ProjectNameShort)-$(ProjectVersion)-$(TARGETPLATFORM)-hc.tar `cat hc-files-to-go` + find $(ProjectNameShort)-$(ProjectVersion)/ghc/compiler \ + $(ProjectNameShort)-$(ProjectVersion)/ghc/driver \ + $(ProjectNameShort)-$(ProjectVersion)/ghc/lib \ + $(ProjectNameShort)-$(ProjectVersion)/hslibs \ + -name "*.hsc" | sed 's/hsc$/hs$/g' >> hc-files-to-go + tar czf $(ProjectNameShort)-$(ProjectVersion)-$(TARGETPLATFORM)-hc.tar.gz `cat hc-files-to-go` + +CLEAN_FILES += hc-files-to-go *-hc.tar.gz # -----------------------------------------------------------------------------