[commit: ghc] master: mkDocs: Update for xz (1060301)

git at git.haskell.org git at git.haskell.org
Sun Feb 7 18:12:36 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/10603015d9b03531a688d77e25dffce4738f4818/ghc

>---------------------------------------------------------------

commit 10603015d9b03531a688d77e25dffce4738f4818
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sun Feb 7 10:40:02 2016 -0500

    mkDocs: Update for xz
    
    Fixes #11419.


>---------------------------------------------------------------

10603015d9b03531a688d77e25dffce4738f4818
 distrib/mkDocs/mkDocs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/distrib/mkDocs/mkDocs b/distrib/mkDocs/mkDocs
index 472bbe9..e06ea6a 100755
--- a/distrib/mkDocs/mkDocs
+++ b/distrib/mkDocs/mkDocs
@@ -21,14 +21,14 @@ WINDOWS_BINDIST=`realpath "$2"`
 mkdir docs
 cd docs
 INST=`pwd`/inst
-tar -jxf "$LINUX_BINDIST"
+tar -Jxf "$LINUX_BINDIST"
 mv ghc* linux
 cd linux
 ./configure --prefix="$INST"
 make install
 cd ..
 [ "$NO_CLEAN" -eq 0 ] && rm -r linux
-tar -jxf "$WINDOWS_BINDIST"
+tar -Jxf "$WINDOWS_BINDIST"
 mv ghc* windows
 cd inst/share/doc/ghc/html/libraries
 mv ../../../../../../windows/doc/html/libraries/Win32-* .
@@ -36,7 +36,7 @@ sh gen_contents_index
 cd ..
 for i in haddock libraries users_guide
 do
-    tar -jcf ../../../../../$i.html.tar.bz2 $i
+    tar -Jcf ../../../../../$i.html.tar.xz $i
 done
 mv index.html ../../../../..
 cd ..



More information about the ghc-commits mailing list