[Pkg-haskell-commits] darcs: ghc: In ghc-doc.prerm, do a better job of cleaning /usr/share/doc/ghc-doc/html/libraries of files generated when creating the haddock index.

Joachim Breitner mail at joachim-breitner.de
Fri Jun 17 15:04:05 UTC 2011


Fri Jun 17 14:58:07 UTC 2011  Joachim Breitner <mail at joachim-breitner.de>
  * In ghc-doc.prerm, do a better job of cleaning /usr/share/doc/ghc-doc/html/libraries of files generated when creating the haddock index.
  Ignore-this: d8e009eb8811f68334d50582120e7b8b

    M ./changelog +3
    M ./ghc-doc.postrm.in -3 +11

Fri Jun 17 14:58:07 UTC 2011  Joachim Breitner <mail at joachim-breitner.de>
  * In ghc-doc.prerm, do a better job of cleaning /usr/share/doc/ghc-doc/html/libraries of files generated when creating the haddock index.
  Ignore-this: d8e009eb8811f68334d50582120e7b8b
diff -rN -u old-ghc//changelog new-ghc//changelog
--- old-ghc//changelog	2011-06-17 15:04:05.784283187 +0000
+++ new-ghc//changelog	2011-06-17 15:04:05.788279011 +0000
@@ -3,6 +3,9 @@
   * Mention correct haddock version in package description.
   * Install .haddock files under /usr/lib/ghc-doc/haddock, a path valid across
     ghc-versions. Also move them to the ghc-doc package.
+  * In ghc-doc.prerm, do a better job of cleaning
+    /usr/share/doc/ghc-doc/html/libraries of files generated when creating the
+    haddock index.
 
  -- Joachim Breitner <nomeata at debian.org>  Sun, 10 Apr 2011 00:08:06 +0530
 
diff -rN -u old-ghc//ghc-doc.postrm.in new-ghc//ghc-doc.postrm.in
--- old-ghc//ghc-doc.postrm.in	2011-06-17 15:04:05.780279885 +0000
+++ new-ghc//ghc-doc.postrm.in	2011-06-17 15:04:05.796285011 +0000
@@ -4,9 +4,17 @@
 
 case "$1" in
     remove)
-	rm -f /usr/share/doc/ghc-doc/libraries/index.html \
-	    /usr/share/doc/ghc-doc/index-frames.html \
-	    /usr/share/doc/ghc-doc/doc-index.html
+        # Remove files generated by the postinst trigger
+	rm -f /usr/share/doc/ghc-doc/html/libraries/index.html \
+	    /usr/share/doc/ghc-doc/html/libraries/doc-index*.html \
+	    /usr/share/doc/ghc-doc/html/libraries/frames.html \
+	    /usr/share/doc/ghc-doc/html/libraries/index-frames.html \
+	    /usr/share/doc/ghc-doc/html/libraries/haddock-util.js \
+	    /usr/share/doc/ghc-doc/html/libraries/hslogo-16.png \
+	    /usr/share/doc/ghc-doc/html/libraries/minus.gif \
+	    /usr/share/doc/ghc-doc/html/libraries/plus.gif \
+	    /usr/share/doc/ghc-doc/html/libraries/ocean.css \
+	    /usr/share/doc/ghc-doc/html/libraries/synopsis.png
 	;;
     *)
 	;;





More information about the Pkg-haskell-commits mailing list