diff options
author | simonmar <unknown> | 2001-05-22 10:34:07 +0000 |
---|---|---|
committer | simonmar <unknown> | 2001-05-22 10:34:07 +0000 |
commit | c532ff608cf445768bc122c355579563c7cb7ed8 (patch) | |
tree | d54fa3f8d3a1a817a8a3891d97fb54b57afd9df3 /Makefile | |
parent | 930b60d0440d9843ee688f028f37bf69a53c5a98 (diff) | |
download | haskell-c532ff608cf445768bc122c355579563c7cb7ed8.tar.gz |
[project @ 2001-05-22 10:34:07 by simonmar]
Add a rule to build an hc-file tar bundle.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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 |