Changeset 675606b for chapter06/file.xml
- Timestamp:
- 06/16/2020 11:56:28 AM (4 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 9a05e45
- Parents:
- 560065f (diff), 1cd5961 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/file.xml
r560065f r675606b 6 6 ]> 7 7 8 <sect1 id="ch- system-file" role="wrap">8 <sect1 id="ch-tools-file" role="wrap"> 9 9 <?dbhtml filename="file.html"?> 10 10 … … 17 17 <title>File-&file-version;</title> 18 18 19 <indexterm zone="ch- system-file">19 <indexterm zone="ch-tools-file"> 20 20 <primary sortas="a-File">File</primary> 21 <secondary>tools</secondary> 21 22 </indexterm> 22 23 … … 24 25 <title/> 25 26 26 <para>The File package contains a utility for determining the type of a given 27 file or files.</para> 27 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 28 href="../chapter08/file.xml" 29 xpointer="xpointer(/sect1/sect2[1]/para[1])"/> 28 30 29 31 <segmentedlist> … … 32 34 33 35 <seglistitem> 34 <seg>&file- ch6-sbu;</seg>35 <seg>&file- ch6-du;</seg>36 <seg>&file-tmp-sbu;</seg> 37 <seg>&file-tmp-du;</seg> 36 38 </seglistitem> 37 39 </segmentedlist> … … 44 46 <para>Prepare File for compilation:</para> 45 47 46 <screen><userinput remap="configure">./configure --prefix=/usr </userinput></screen>48 <screen><userinput remap="configure">./configure --prefix=/usr --host=$LFS_TGT</userinput></screen> 47 49 50 <!-- devs: if using - -build here, the build system wants to compile 51 the signature file with "file" on the build system, but stops if it is not 52 the same version. One possibility would be to build "file" on the build 53 system first, but it is simpler to have the system think it is not 54 cross-compiling, and use the just built "file". --> 48 55 <para>Compile the package:</para> 49 56 50 57 <screen><userinput remap="make">make</userinput></screen> 51 58 52 <para>To test the results, issue:</para>53 54 <screen><userinput remap="test">make check</userinput></screen>55 56 59 <para>Install the package:</para> 57 60 58 <screen><userinput remap="install">make install</userinput></screen>61 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> 59 62 60 63 </sect2> 61 64 62 63 <sect2 id="contents-file" role="content"> 64 <title>Contents of File</title> 65 66 <segmentedlist> 67 <segtitle>Installed programs</segtitle> 68 <segtitle>Installed library</segtitle> 69 70 <seglistitem> 71 <seg>file</seg> 72 <seg>libmagic.so</seg> 73 </seglistitem> 74 </segmentedlist> 75 76 <variablelist> 77 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 78 <?dbfo list-presentation="list"?> 79 <?dbhtml list-presentation="table"?> 80 81 <varlistentry id="file"> 82 <term><command>file</command></term> 83 <listitem> 84 <para>Tries to classify each given file; it does this by performing 85 several tests—file system tests, magic number tests, and language 86 tests</para> 87 <indexterm zone="ch-system-file file"> 88 <primary sortas="b-file">file</primary> 89 </indexterm> 90 </listitem> 91 </varlistentry> 92 93 <varlistentry id="libmagic"> 94 <term><filename class="libraryfile">libmagic</filename></term> 95 <listitem> 96 <para>Contains routines for magic number recognition, used by the 97 <command>file</command> program</para> 98 <indexterm zone="ch-system-file libmagic"> 99 <primary sortas="c-libmagic">libmagic</primary> 100 </indexterm> 101 </listitem> 102 </varlistentry> 103 104 </variablelist> 65 <sect2 role="content"> 66 <title/> 67 <para>Details on this package are located in<!-- TODO 68 <xref linkend="contents-file" role="."/> --></para> 105 69 106 70 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.