Reinstate the driver/ghc directory, to create a versioned GHC program
[ghc-hetmet.git] / driver / Makefile
index 3fcb4be..0eb10c6 100644 (file)
@@ -7,7 +7,7 @@
 TOP=..
 include $(TOP)/mk/boilerplate.mk
 
-SUBDIRS = mangler split ghci
+SUBDIRS = mangler split ghc ghci
 
 INPLACE_PKG_CONF = $(INPLACE_DATA_DIR)/package.conf
 # Used to signal that we are inplace, as opposed to installed:
@@ -15,7 +15,7 @@ INPLACE_FILE     = $(INPLACE_DATA_DIR)/inplace
 
 boot all ::
        $(MKDIRHIER) $(INPLACE_DATA_DIR)
-       test -e $(INPLACE_PKG_CONF) || echo "[]" > $(INPLACE_PKG_CONF)
+       test -f $(INPLACE_PKG_CONF) || echo "[]" > $(INPLACE_PKG_CONF)
        touch $(INPLACE_FILE)
 
 INSTALL_DATAS += ghc-usage.txt ghci-usage.txt