Updates to work with latest cabal.
authorDuncan Coutts <duncan@haskell.org>
Thu, 6 Sep 2007 13:17:26 +0000 (13:17 +0000)
committerDuncan Coutts <duncan@haskell.org>
Thu, 6 Sep 2007 13:17:26 +0000 (13:17 +0000)
libraries/Makefile
libraries/installPackage.hs

index d2e2b06..5b8447f 100644 (file)
@@ -223,7 +223,7 @@ stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).%: %/setup/Setup
                   --with-hc-pkg=../../utils/ghc-pkg/ghc-pkg-inplace$ \
                   --with-hsc2hs=../../utils/hsc2hs/hsc2hs-inplace \
                   --with-ld=$(LD) \
-                  --haddock-args="--use-contents=../index.html \
+                  --haddock-options="--use-contents=../index.html \
                                   --use-index=../doc-index.html" \
                   $(FLAGGED_CONFIGURE_ARGS) \
                   --configure-option=--with-cc=$(CC) ) \
index d1ca8fa..01bde47 100644 (file)
@@ -37,7 +37,7 @@ doit destdir pref idatadir idocdir ghcpkg ghcpkgconf verbosity =
                               copyVerbose = verbosity
                           }
               registerFlags = emptyRegisterFlags {
-                                  regUser = MaybeUserGlobal,
+                                  regPackageDB = Just GlobalPackageDB,
                                   regVerbose = verbosity,
                                   regGenScript = False,
                                   regInPlace = False