From: sof Date: Tue, 23 Jul 2002 13:30:12 +0000 (+0000) Subject: [project @ 2002-07-23 13:30:12 by sof] X-Git-Tag: Approx_11550_changesets_converted~1814 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=9c02be64bb791a49d20a113259cba6a9b71a82d8;p=ghc-hetmet.git [project @ 2002-07-23 13:30:12 by sof] find ~=> $(FIND) --- diff --git a/Makefile b/Makefile index 40e26ab..c338a80 100644 --- a/Makefile +++ b/Makefile @@ -218,13 +218,13 @@ binary-pack:: ifneq "$(way)" "" package-way-dist:: - ( cd $(BIN_DIST_TMPDIR); find $(BIN_DIST_NAME)/ \( -name "*$(_way).a" -o -name "*.$(way_)hi" \) -print | xargs tar cvf $(BIN_DIST_TMPDIR)/ghc-$(ProjectVersion)-$(way)-$(TARGETPLATFORM).tar ) + ( cd $(BIN_DIST_TMPDIR); $(FIND) $(BIN_DIST_NAME)/ \( -name "*$(_way).a" -o -name "*.$(way_)hi" \) -print | xargs tar cvf $(BIN_DIST_TMPDIR)/ghc-$(ProjectVersion)-$(way)-$(TARGETPLATFORM).tar ) gzip $(BIN_DIST_TMPDIR)/ghc-$(ProjectVersion)-$(way)-$(TARGETPLATFORM).tar endif ifneq "$(way)" "" remove-way-dist:: - ( cd $(BIN_DIST_TMPDIR); find $(BIN_DIST_NAME)/ \( -name "*$(_way).a" -o -name "*.$(way_)hi" \) -print -exec rm -f {} \; ) + ( cd $(BIN_DIST_TMPDIR); $(FIND) $(BIN_DIST_NAME)/ \( -name "*$(_way).a" -o -name "*.$(way_)hi" \) -print -exec rm -f {} \; ) endif binary-dist:: @@ -294,12 +294,12 @@ dist-package-zip :: hc-file-bundle : project-check $(RM) -r $(ProjectNameShort)-$(ProjectVersion) $(LN_S) . $(ProjectNameShort)-$(ProjectVersion) - find $(ProjectNameShort)-$(ProjectVersion)/ghc/compiler \ + $(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]" \) -print > hc-files-to-go - find $(ProjectNameShort)-$(ProjectVersion)/ghc/compiler \ + $(FIND) $(ProjectNameShort)-$(ProjectVersion)/ghc/compiler \ $(ProjectNameShort)-$(ProjectVersion)/ghc/driver \ $(ProjectNameShort)-$(ProjectVersion)/ghc/lib \ $(ProjectNameShort)-$(ProjectVersion)/hslibs \