X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=Makefile;h=01d02ff6c04e540a5a5b5c967e832d84d94d6d55;hp=c96a0c13aee5a74c663bb65e9dbd2376168c19a4;hb=c532ff608cf445768bc122c355579563c7cb7ed8;hpb=930b60d0440d9843ee688f028f37bf69a53c5a98 diff --git a/Makefile b/Makefile index c96a0c1..01d02ff 100644 --- a/Makefile +++ b/Makefile @@ -288,6 +288,19 @@ dist-package-zip :: $(ZIP) $(ZIP_OPTS) -r $(SRC_DIST_NAME)-src.zip $(SRC_DIST_PATHS) # ----------------------------------------------------------------------------- +# HC file bundles + +hc-file-bundle : project-check + $(RM) $(ProjectNameShort)-$(ProjectVersion) + $(LN_S) . $(ProjectNameShort)-$(ProjectVersion) + find $(ProjectNameShort)-$(ProjectVersion)/ghc/compiler \ + $(ProjectNameShort)-$(ProjectVersion)/ghc/driver \ + $(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` + +# ----------------------------------------------------------------------------- DIST_CLEAN_FILES += config.cache config.status