From 03234e572480983226dd85e60db9fc6ca1150bf0 Mon Sep 17 00:00:00 2001
From: simonm <unknown>
Date: Tue, 14 Oct 1997 13:20:43 +0000
Subject: [PATCH] [project @ 1997-10-14 13:20:43 by simonm] don't substitute
 for RAWCPP if we're bin-disting

---
 ghc/utils/hscpp/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/ghc/utils/hscpp/Makefile b/ghc/utils/hscpp/Makefile
index cfd508278942..e4af0ed35d37 100644
--- a/ghc/utils/hscpp/Makefile
+++ b/ghc/utils/hscpp/Makefile
@@ -3,7 +3,11 @@ include $(TOP)/mk/boilerplate.mk
 
 SCRIPT_PROG=hscpp
 SCRIPT_OBJS=hscpp.prl
-SCRIPT_SUBST_VARS=RAWCPP
+SCRIPT_SUBST_VARS=
+
+ifneq "$(BIN_DIST)" "1"
+SCRIPT_SUBST_VARS += RAWCPP
+endif
 
 # Note: might be overridden from cmd-line (see install rule below)
 INSTALLING=0
-- 
GitLab