X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Makefile;h=0a8271c1820b4f1e09bef26d140acf9e25c3d03d;hb=8968073e164d4bc513e54ded0070d49c1ab1c22f;hp=5fc80ebd9afedaabfdc885889fba806e8167f03c;hpb=16ad3bcb9c1de75920c69713cfe33589913b6c13;p=ghc-hetmet.git diff --git a/Makefile b/Makefile index 5fc80eb..0a8271c 100644 --- a/Makefile +++ b/Makefile @@ -291,7 +291,7 @@ dist-package-zip :: # HC file bundles hc-file-bundle : project-check - $(RM) $(ProjectNameShort)-$(ProjectVersion) + $(RM) -r $(ProjectNameShort)-$(ProjectVersion) $(LN_S) . $(ProjectNameShort)-$(ProjectVersion) find $(ProjectNameShort)-$(ProjectVersion)/ghc/compiler \ $(ProjectNameShort)-$(ProjectVersion)/ghc/driver \ @@ -302,7 +302,7 @@ hc-file-bundle : project-check $(ProjectNameShort)-$(ProjectVersion)/ghc/driver \ $(ProjectNameShort)-$(ProjectVersion)/ghc/lib \ $(ProjectNameShort)-$(ProjectVersion)/hslibs \ - -name "*.hsc" | sed 's/hsc$/hs$/g' >> hc-files-to-go + -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