[blfs-book] r11923 - trunk/BOOK/general/graphlib

igor at higgs.linuxfromscratch.org igor at higgs.linuxfromscratch.org
Sun Oct 6 03:50:24 PDT 2013


Author: igor
Date: Sun Oct  6 03:50:24 2013
New Revision: 11923

Log:
the libjpeg-turbo docsdir sed command doesn't need to be run as root

Modified:
   trunk/BOOK/general/graphlib/libjpeg-turbo.xml

Modified: trunk/BOOK/general/graphlib/libjpeg-turbo.xml
==============================================================================
--- trunk/BOOK/general/graphlib/libjpeg-turbo.xml	Sun Oct  6 02:48:51 2013	(r11922)
+++ trunk/BOOK/general/graphlib/libjpeg-turbo.xml	Sun Oct  6 03:50:24 2013	(r11923)
@@ -97,6 +97,8 @@
             --mandir=/usr/share/man \
             --with-jpeg8 \
             --disable-static &&
+sed -i -e '/^docdir/ s/$/\/libjpeg-turbo-&libjpeg-turbo-version;/' \
+       -e '/^exampledir/ s/$/\/libjpeg-turbo-&libjpeg-turbo-version;/' Makefile &&
 make</userinput></screen>
 
     <para>
@@ -107,9 +109,7 @@
       Now, as the <systemitem class="username">root</systemitem> user:
     </para>
 
-<screen role="root"><userinput>sed -i -e '/^docdir/ s/$/\/libjpeg-turbo-&libjpeg-turbo-version;/' \
-       -e '/^exampledir/ s/$/\/libjpeg-turbo-&libjpeg-turbo-version;/' Makefile &&
-make install</userinput></screen>
+<screen role="root"><userinput>make install</userinput></screen>
 
   </sect2>
 



More information about the blfs-book mailing list