Changes in BOOK/final-system/common/m4.xml [1c9985f:686839b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/m4.xml
r1c9985f r686839b 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE c:package [ 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ 3 4 <!ENTITY % general-entities SYSTEM "../../general.ent"> 4 5 %general-entities; 5 6 ]> 6 7 7 < c:package xmlns:c="http://schema.cross-lfs.org/book"8 id="ch-system-m4" c:multibuild="false">8 <sect1 id="ch-system-m4" role="wrap"> 9 <?dbhtml filename="m4.html"?> 9 10 10 <c:title>M4</c:title> 11 <c:version>&m4-version;</c:version> 12 <c:description>The M4 package contains a macro processor.</c:description> 11 <title>M4-&m4-version;</title> 13 12 14 <c:install> 13 <indexterm zone="ch-system-m4"> 14 <primary sortas="a-M4">M4</primary> 15 </indexterm> 15 16 16 <c:para>Prepare M4 for compilation:</c:para> 17 <sect2 role="package"> 18 <title/> 17 19 18 <c:command c:multilib="false">./configure --prefix=/usr</c:command> 19 <c:command c:multilib="true">CC="gcc ${BUILD64}" ./configure --prefix=/usr</c:command> 20 <para>The M4 package contains a macro processor.</para> 20 21 21 <c:para>Compile the package:</c:para>22 </sect2> 22 23 23 <c:command>make</c:command> 24 <sect2 role="installation"> 25 <title>Installation of M4</title> 24 26 25 <c:para>To test the results, issue: 26 <c:command>make check</c:command>.</c:para> 27 <para os="a">Prepare M4 for compilation:</para> 27 28 28 <c:para>Install the package:</c:para>29 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 29 30 30 < c:command>make install</c:command>31 <para os="c">Compile the package:</para> 31 32 32 </c:install>33 <screen os="d"><userinput>make</userinput></screen> 33 34 34 <c:contents>35 <para os="e">To test the results, issue:</para> 35 36 36 <c:program> 37 <c:name>m4</c:name> 38 <c:description>copies the given files while expanding the macros that they 37 <screen os="e2"><userinput remap="test">make check</userinput></screen> 38 39 <para os="f">Install the package:</para> 40 41 <screen os="g"><userinput>make install</userinput></screen> 42 43 </sect2> 44 45 <sect2 id="contents-m4" role="content"> 46 <title>Contents of M4</title> 47 48 <segmentedlist> 49 <segtitle>Installed program</segtitle> 50 51 <seglistitem> 52 <seg>m4</seg> 53 </seglistitem> 54 </segmentedlist> 55 56 <variablelist> 57 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 58 <?dbfo list-presentation="list"?> 59 <?dbhtml list-presentation="table"?> 60 61 <varlistentry id="m4"> 62 <!-- Don't remove the extra space, it prevet a FOP warning. --> 63 <term><command>m4 </command></term> 64 <listitem> 65 <para>copies the given files while expanding the macros that they 39 66 contain. These macros are either built-in or user-defined and can 40 67 take any number of arguments. Besides performing macro expansion, 41 <c :command>m4</c:command> has built-in functions for including named68 <command>m4</command> has built-in functions for including named 42 69 files, running Unix commands, performing integer arithmetic, 43 manipulating text, recursion, etc. The <c :command>m4</c:command>70 manipulating text, recursion, etc. The <command>m4</command> 44 71 program can be used either as a front-end to a compiler or as a 45 macro processor in its own right.</c:description> 46 </c:program> 72 macro processor in its own right.</para> 73 <indexterm zone="ch-system-m4 m4"> 74 <primary sortas="b-m4">m4</primary> 75 </indexterm> 76 </listitem> 77 </varlistentry> 47 78 48 </c:contents>79 </variablelist> 49 80 50 </c:package> 81 </sect2> 82 83 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.