aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/bzip2-exp.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/bzip2-exp.xml')
-rw-r--r--chapter05/bzip2-exp.xml18
1 files changed, 6 insertions, 12 deletions
diff --git a/chapter05/bzip2-exp.xml b/chapter05/bzip2-exp.xml
index ca77f5f4d..b53254eab 100644
--- a/chapter05/bzip2-exp.xml
+++ b/chapter05/bzip2-exp.xml
@@ -1,15 +1,12 @@
<sect2>
<title>Command explanations</title>
-<para>
-<userinput>sed: </userinput> The sed command here searches for the
+<para><userinput>sed: </userinput> The sed command here searches for the
string "$(CC) $(CFLAGS) -o" and replaces it by "$(CC) $(CFLAGS)
$(LDFLAGS) -o" in the Makefile file. We make that modification so it
-will be easier to link bzip2 statically.
-</para>
+will be easier to link bzip2 statically.</para>
-<para>
-<userinput>...Makefile | make -f -:</userinput> Makefile
+<para><userinput>...Makefile | make -f -:</userinput> Makefile
is the last parameter of the sed command which indicates the file to
search and replace in. Sed normally sends the modified file to stdout
(standard output), which will be the console. With the construction we
@@ -19,15 +16,12 @@ modified the Makefile file so we don't want make to use it. The "-f -"
parameter tells make to read it's input from another file, or from stdin
(standard input) which the dash (-) implies. This is one way to do it.
Another way would be to have sed write the output to a different file
-and tell make with the -f parameter to read that alternate file.
-</para>
+and tell make with the -f parameter to read that alternate file.</para>
-<para>
-<userinput>LDFLAGS=-static:</userinput> This is the second way we use to
+<para><userinput>LDFLAGS=-static:</userinput> This is the second way we use to
link a package statically. This is also the most common way.
The -all-static value is only used with the binutils package and won't
-be used throughout the rest of this book.
-</para>
+be used throughout the rest of this book.</para>
</sect2>