aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/xz.xml
diff options
context:
space:
mode:
authorKrejzi <krejzi@linuxfromscratch.org>2013-12-21 11:53:07 +0000
committerKrejzi <krejzi@linuxfromscratch.org>2013-12-21 11:53:07 +0000
commit112db9db28f565168992a35d6ca61c4ebb07d912 (patch)
treea44be932828f84567d7b6849a237c178ab11dde5 /chapter06/xz.xml
parentb1a51ac18a0ba70461444d4780d9fcdee3b5ce6d (diff)
merge lfs-svn, pt 1
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10402 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/xz.xml')
-rw-r--r--chapter06/xz.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/chapter06/xz.xml b/chapter06/xz.xml
index a44bd10cd..452386759 100644
--- a/chapter06/xz.xml
+++ b/chapter06/xz.xml
@@ -47,7 +47,6 @@
<para>Prepare Xz for compilation with:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \
- --bindir=/bin \
--docdir=/usr/share/doc/xz-&xz-version;</userinput></screen>
<para>Compile the package:</para>
@@ -58,12 +57,13 @@
<screen><userinput remap="test">make check</userinput></screen>
- <para>Install the package and make sure that all libraries are in the
+ <para>Install the package and make sure that all essential files are in the
correct directory:</para>
<screen><userinput remap="install">make install
+mv -v /usr/bin/{unlzma,unxz,xzcat,lzma,xz} /bin
mv -v /usr/lib/liblzma.so.* /lib
-ln -svf ../../lib/liblzma.so.&xz-version; /usr/lib/liblzma.so</userinput></screen>
+ln -svf ../../lib/$(readlink /usr/lib/liblzma.so) /usr/lib/liblzma.so</userinput></screen>
</sect2>