hunk ./changelog 1 +haskell-utils (5) unstable; urgency=low + + * Path changes for ghc 6.10. + + -- David Fox Wed, 28 Jan 2009 06:12:19 -0800 + addfile ./docpath.patch hunk ./docpath.patch 1 +--- x/scripts/10/libghc6-PACKAGE-doc.postinst~ 2008-01-02 03:14:37.000000000 -0800 ++++ x/scripts/10/libghc6-PACKAGE-doc.postinst 2009-01-28 06:07:11.000000000 -0800 +@@ -22,8 +22,8 @@ + + case "$1" in + configure|abort-upgrade|abort-remove|abort-deconfigure) +- cd /usr/share/doc/ghc6-doc/libraries +- /usr/lib/ghc6-doc/gen_contents_index ++ cd /usr/share/doc/ghc/libraries ++ /usr/share/doc/ghc/libraries/gen_contents_index + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 +--- x/scripts/10/libghc6-PACKAGE-doc.postrm~ 2008-02-27 16:39:42.000000000 -0800 ++++ x/scripts/10/libghc6-PACKAGE-doc.postrm 2009-01-28 06:07:23.000000000 -0800 +@@ -3,8 +3,8 @@ + + set -e + +-DIR=/usr/share/doc/ghc6-doc/libraries +-GEN=/usr/lib/ghc6-doc/gen_contents_index ++DIR=/usr/share/doc/ghc/libraries ++GEN=/usr/share/doc/ghc/libraries/gen_contents_index + + case "$1" in + *) +--- x/scripts/10/rules~ 2008-01-01 14:36:27.000000000 -0800 ++++ x/scripts/10/rules 2009-01-28 06:07:42.000000000 -0800 +@@ -32,7 +32,7 @@ + + update-haskell-control --check + $(GHC) --make Setup.*hs -o setup-ghc +- ./setup-ghc configure --ghc --with-compiler=$(GHC) --prefix=/usr --docdir=/usr/share/doc/ghc6-doc/libraries/$(CABAL_PACKAGE) --htmldir=/usr/share/doc/ghc6-doc/libraries/$(CABAL_PACKAGE) $(CONFIGURE_OPTS) ++ ./setup-ghc configure --ghc --with-compiler=$(GHC) --prefix=/usr --docdir=/usr/share/doc/ghc/libraries/$(CABAL_PACKAGE) --htmldir=/usr/share/doc/ghc/libraries/$(CABAL_PACKAGE) $(CONFIGURE_OPTS) + ./setup-ghc build + ./setup-ghc haddock --hyperlink-source + +@@ -51,7 +51,7 @@ + ./setup-ghc copy --destdir=debian/tmp/ + # XXX The file isn't necessarily called LICENSE, and may not even + # exist at all +- rm debian/tmp/usr/share/doc/ghc6-doc/libraries/$(CABAL_PACKAGE)/LICENSE ++ rm debian/tmp/usr/share/doc/ghc/libraries/$(CABAL_PACKAGE)/LICENSE + find debian/tmp/usr/lib -type f ! $(PROF_FILE) \ + > debian/$(GHC6_PACKAGE).install + find debian/tmp -type d -empty >> debian/$(GHC6_PACKAGE).install hunk ./series 4 +docpath.patch