Fix typo in Makefile
authorIan Lynagh <igloo@earth.li>
Tue, 20 Dec 2011 17:36:25 +0000 (17:36 +0000)
committerIan Lynagh <igloo@earth.li>
Mon, 2 Jan 2012 20:32:37 +0000 (20:32 +0000)
sdist output was being redirected to $src_log, which presumably
evaluated to rc_log.

ghc.mk

diff --git a/ghc.mk b/ghc.mk
index a2941d4..3805bbe 100644 (file)
--- a/ghc.mk
+++ b/ghc.mk
@@ -1096,7 +1096,7 @@ sdist-prep :
 
 .PHONY: sdist
 sdist : sdist-prep
-       "$(TAR_CMD)" chf - $(SRC_DIST_NAME) 2>$src_log | bzip2 >$(TOP)/$(SRC_DIST_TARBALL)
+       "$(TAR_CMD)" chf - $(SRC_DIST_NAME) 2>src_log | bzip2 >$(TOP)/$(SRC_DIST_TARBALL)
 
 sdist-manifest : $(SRC_DIST_TARBALL)
        tar tjf $(SRC_DIST_TARBALL) | sed "s|^ghc-$(ProjectVersion)/||" | sort >sdist-manifest