diff --git a/ghc/utils/hscpp/Makefile b/ghc/utils/hscpp/Makefile index cfd508278942c638de8122875ec8792069b91d70..e4af0ed35d3727c6b2f02833ffe511f44706d2e0 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