Remove odd recursive call in the driver/ghci Makefile
authorIan Lynagh <igloo@earth.li>
Tue, 21 Aug 2007 08:59:37 +0000 (08:59 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 21 Aug 2007 08:59:37 +0000 (08:59 +0000)
I'm not sure why this was here, but it makes ghci.o get built twice on
Windows, which can cause the build to fail if it tries to link it
in the middle.

driver/ghci/Makefile

index 37c30c2..ac6d383 100644 (file)
@@ -5,9 +5,6 @@
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
 
-# hack for ghci-inplace script, see below
-INSTALLING=1
-
 # -----------------------------------------------------------------------------
 # ghci script
 
@@ -49,13 +46,6 @@ all::
        $(EXECUTABLE_FILE) $(INPLACE_SCRIPT)
 endif
 
-# don't recurse on 'make install'
-#
-ifeq "$(INSTALLING)" "1"
-all clean distclean maintainer-clean ::
-       $(MAKE) INSTALLING=0 $(MFLAGS) $@
-endif
-
 ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
 ghci.res : ghci.rc ghci.ico
        windres --preprocessor="$(CPP) -xc -DRC_INVOKED" -o ghci.res -i ghci.rc -O coff