summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorsimonmar <unknown>2001-07-02 10:08:52 +0000
committersimonmar <unknown>2001-07-02 10:08:52 +0000
commitd327f5ef8714f85c1f2650e73ea5162f4b8439a8 (patch)
tree1fb5346469ec75a71043cd5e1fb2482813c0507c /Makefile
parent70828f20a819092743039eecb75694db2e3cb0a3 (diff)
downloadhaskell-d327f5ef8714f85c1f2650e73ea5162f4b8439a8.tar.gz
[project @ 2001-07-02 10:08:52 by simonmar]
The hc-file bundle should contain the .hs files generated from .hsc files because of a chicken-egg problem with building hsc2hs.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ff7c6d2d92..312a6995b4 100644
--- a/Makefile
+++ b/Makefile
@@ -298,6 +298,11 @@ hc-file-bundle : project-check
$(ProjectNameShort)-$(ProjectVersion)/ghc/lib \
$(ProjectNameShort)-$(ProjectVersion)/hslibs \
-name "*.hc" -o -name "*_hsc.[ch]" -o -name "*_stub.[ch]" > 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