[commit: ghc] ghc-8.0: mkDocs: Update for xz (d041dad)

git at git.haskell.org git at git.haskell.org
Sun Feb 7 18:13:30 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/d041dadccf01a9d7254c1b313c1a1f803fd9e497/ghc

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

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

    mkDocs: Update for xz
    
    Fixes #11419.
    
    (cherry picked from commit 10603015d9b03531a688d77e25dffce4738f4818)


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

d041dadccf01a9d7254c1b313c1a1f803fd9e497
 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