From: Ian Lynagh Date: Tue, 29 Sep 2009 01:27:17 +0000 (+0000) Subject: Fix making Windows bindist and installer X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=abb3c37c96490bcdf04797bf47e16c9fc998932f Fix making Windows bindist and installer --- diff --git a/ghc.mk b/ghc.mk index 1618cd8..2821649 100644 --- a/ghc.mk +++ b/ghc.mk @@ -893,8 +893,8 @@ unix-binary-dist-prep: windows-binary-dist-prep: "$(RM)" $(RM_OPTS) -r bindistprep/* - $(MAKE) prefix=$(BIN_DIST_PREP_DIR) install - cd bindistprep && "$(TAR)" cf - ../$(BIN_DIST_NAME) | bzip2 -c > ../$(BIN_DIST_PREP_TAR_BZ2) + $(MAKE) prefix=$(TOP)/$(BIN_DIST_PREP_DIR) install + cd bindistprep && "$(TAR)" cf - $(BIN_DIST_NAME) | bzip2 -c > ../$(BIN_DIST_PREP_TAR_BZ2) windows-installer: "$(ISCC)" /O. /F$(WINDOWS_INSTALLER_BASE) - < distrib/ghc.iss