X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Makefile;h=4b5f4675791edef0537a04f40abbc2c6994cf009;hb=8e49caf6ab14c9249ee662ba569bc6b7bf2319f1;hp=e2095f094122a033e6dbbcc5fba1a3ac16919b80;hpb=611b0cae64bb3403d0bac78e8a1786a4a6e5061a;p=ghc-hetmet.git diff --git a/Makefile b/Makefile index e2095f0..4b5f467 100644 --- a/Makefile +++ b/Makefile @@ -259,10 +259,13 @@ SRC_DIST_FILES += \ mk/boilerplate.mk mk/config.h.in mk/config.mk.in mk/opts.mk \ mk/paths.mk mk/package.mk mk/suffix.mk mk/target.mk +# Just provide a subset. +GHC_SRC_DIST_DIRS= glafp-utils ghc libraries hslibs + dist dist-manifest dist-package :: project-check # clean the tree first, leaving certain extra files in place (eg. configure) -dist :: distclean +#dist :: distclean dist :: -rm -rf $(SRC_DIST_DIR) @@ -299,7 +302,7 @@ hc-file-bundle : project-check $(ProjectNameShort)-$(ProjectVersion)/libraries \ $(ProjectNameShort)-$(ProjectVersion)/hslibs \ \( -name "*.hc" -o -name "*_hsc.[ch]" -o -name "*_stub.[ch]" \) -print > hc-files-to-go - @for f in `$(FIND) $(ProjectNameShort)-$(ProjectVersion)/ghc/compiler $(ProjectNameShort)-$(ProjectVersion)/ghc/driver $(ProjectNameShort)-$(ProjectVersion)/libraries $(ProjectNameShort)-$(ProjectVersion)/hslibs -name "*.hsc" -print` ""; do \ + for f in `$(FIND) $(ProjectNameShort)-$(ProjectVersion)/ghc/compiler $(ProjectNameShort)-$(ProjectVersion)/ghc/driver $(ProjectNameShort)-$(ProjectVersion)/libraries $(ProjectNameShort)-$(ProjectVersion)/hslibs -name "*.hsc" -print` ""; do \ if test "x$$f" != "x" && test -e `echo "$$f" | sed 's/hsc$$/hs/g'`; then \ echo `echo "$$f" | sed 's/hsc$$/hs/g' ` >> hc-files-to-go ; \ fi; \