[Pkg-haskell-commits] darcs: ghc: Remove the ghc-doc symlink logic from 7.0.4-3, as with 7.4.1, every documentation package had to be rebuit.
Joachim Breitner
mail at joachim-breitner.de
Mon Mar 12 14:25:44 UTC 2012
Mon Mar 12 14:25:38 UTC 2012 Joachim Breitner <mail at joachim-breitner.de>
* Remove the ghc-doc symlink logic from 7.0.4-3, as with 7.4.1, every documentation package had to be rebuit.
Ignore-this: a37046d013e08a282818e1bdc97aa651
M ./changelog +7
M ./ghc-doc.postinst -19
Mon Mar 12 14:25:38 UTC 2012 Joachim Breitner <mail at joachim-breitner.de>
* Remove the ghc-doc symlink logic from 7.0.4-3, as with 7.4.1, every documentation package had to be rebuit.
Ignore-this: a37046d013e08a282818e1bdc97aa651
diff -rN -u old-ghc//changelog new-ghc//changelog
--- old-ghc//changelog 2012-03-12 14:25:44.299248349 +0000
+++ new-ghc//changelog 2012-03-12 14:25:44.303248827 +0000
@@ -1,3 +1,10 @@
+ghc (7.4.1-3) UNRELEASED; urgency=low
+
+ * Remove the ghc-doc symlink logic from 7.0.4-3, as with 7.4.1, every
+ documentation package had to be rebuit.
+
+ -- Joachim Breitner <nomeata at debian.org> Mon, 12 Mar 2012 15:23:53 +0100
+
ghc (7.4.1-2) unstable; urgency=low
[ Iain Lane ]
diff -rN -u old-ghc//ghc-doc.postinst new-ghc//ghc-doc.postinst
--- old-ghc//ghc-doc.postinst 2012-03-12 14:25:44.291248301 +0000
+++ new-ghc//ghc-doc.postinst 2012-03-12 14:25:44.307248736 +0000
@@ -22,25 +22,6 @@
case "$1" in
triggered|configure)
- # Older versions of haskell_devscripts installed .haddock files in
- # ghc-version-dependent paths. We thus merge them here using symbolic
- # links. Luckily, dpkg will cleanly remove the symlinks when the last
- # broken package is deinstalled.
- # This can be removed once all packages have been rebuilt from source
- # with a version of haskell-devscripts that installs into
- # /usr/lib/ghc-doc/haddock/
- for path in /usr/lib/ghc-7.0.2/haddock /usr/lib/ghc-7.0.3/haddock
- do
- if [ -d $path -a ! -L $path ]
- then
- echo "Turning $path into a symbolic link to /usr/lib/ghc-doc/haddock/"
- # This line should successfully do nothing for an empty directory
- find $path -maxdepth 1 -mindepth 1 -print0 | xargs -0 -r mv -t /usr/lib/ghc-doc/haddock/
- rmdir $path
- ln -s ../ghc-doc/haddock $path
- fi
- done
-
if test -x /usr/lib/ghc/bin/ghc-pkg; then /usr/lib/ghc/bin/ghc-pkg recache --global; fi
/usr/lib/ghc-doc/gen_contents_index
;;
More information about the Pkg-haskell-commits
mailing list