[project @ 1997-10-14 13:20:43 by simonm]
authorsimonm <unknown>
Tue, 14 Oct 1997 13:20:43 +0000 (13:20 +0000)
committersimonm <unknown>
Tue, 14 Oct 1997 13:20:43 +0000 (13:20 +0000)
don't substitute for RAWCPP if we're bin-disting

ghc/utils/hscpp/Makefile

index cfd5082..e4af0ed 100644 (file)
@@ -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