use ghc-pkg --force-files, and update command-line syntax
authorSimon Marlow <simonmar@microsoft.com>
Mon, 18 Sep 2006 23:29:03 +0000 (23:29 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Mon, 18 Sep 2006 23:29:03 +0000 (23:29 +0000)
mk/package.mk

index cbec48d..ce90aec 100644 (file)
@@ -119,8 +119,8 @@ boot all :: $(STAMP_PKG_CONF)
 endif
 
 $(STAMP_PKG_CONF) : package.conf.inplace package.conf.installed
-       $(GHC_PKG_INPLACE) --force --update-package <package.conf.inplace
-       $(GHC_PKG_INPLACE)  -f $(GHC_DRIVER_DIR)/package.conf --force --update-package <package.conf.installed
+       $(GHC_PKG_INPLACE) update - --force-files <package.conf.inplace
+       $(GHC_PKG_INPLACE) update - -f $(GHC_DRIVER_DIR)/package.conf --force-files <package.conf.installed
        @touch $(STAMP_PKG_CONF)
 
 CLEAN_FILES += package.conf.installed package.conf.inplace