Author: andy
Date: 2011-12-12 17:41:24 -0700 (Mon, 12 Dec 2011)
New Revision: 9107
Modified:
trunk/BOOK/general/prog/llvm.xml
Log:
the sed works if the brackets are escaped
Modified: trunk/BOOK/general/prog/llvm.xml
===================================================================
--- trunk/BOOK/general/prog/llvm.xml 2011-12-13 00:02:58 UTC (rev 9106)
+++ trunk/BOOK/general/prog/llvm.xml 2011-12-13 00:41:24 UTC (rev 9107)
@@ -81,15 +81,15 @@
<para>Install <application>llvm</application> by running the following
commands:</para>
-<screen><userinput>touch tools/edis/EnhancedDisassembly.exports
&&
-./configure --prefix=/opt/llvm &&
-find -name Makefile -exec \
- sed -ir -e '/^LIBRARYNAME/a SHARED_LIBRARY = 1' \
- -e 's#BUILD_ARCHIVE :*= 1#NO_&#' \
- -e '/^USEDLIBS/s# ([A-Za-z]*).a# -l\1#g' \
- -e 's#^USEDLIBS#LDFLAGS#' {} \; &&
-sed -i 's#BUILD_ARCHIVE = 1#NO_&#' Makefile.rules &&
-sed -i 's#x)/docs#x)/share/doc#' Makefile.config &&
+<screen><userinput>touch tools/edis/EnhancedDisassembly.exports
&&
+./configure --prefix=/opt/llvm &&
+find -name Makefile -exec \
+ sed -ir -e '/^LIBRARYNAME/a SHARED_LIBRARY = 1' \
+ -e 's#BUILD_ARCHIVE :*= 1#NO_&#' \
+ -e '/^USEDLIBS/s# \([A-Za-z]*\).a# -l\1#g' \
+ -e 's#^USEDLIBS#LDFLAGS#' {} \; &&
+sed -i 's#BUILD_ARCHIVE = 1#NO_&#' Makefile.rules &&
+sed -i 's#x)/docs#x)/share/doc#' Makefile.config &&
make</userinput></screen>
<para>To test the results, issue: <command>make check</command>.</para>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page