[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[1b35ce63] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[ca783379] | 7 | <!ENTITY scons-download-http "&sourceforge-dl;/scons/SCons-&scons-version;.tar.gz">
|
---|
[1b35ce63] | 8 | <!ENTITY scons-download-ftp " ">
|
---|
[d0892b4] | 9 | <!ENTITY scons-md5sum "f931948234687b507e2c8ae6ec18fb1c">
|
---|
[9af8c3e] | 10 | <!ENTITY scons-size "3.1 MB">
|
---|
| 11 | <!ENTITY scons-buildsize "50 MB">
|
---|
[b12939e] | 12 | <!ENTITY scons-time "less than 0.1 SBU">
|
---|
[1b35ce63] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="scons" xreflabel="SCons-&scons-version;">
|
---|
| 16 | <?dbhtml filename="scons.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>SCons-&scons-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="scons">
|
---|
| 22 | <primary sortas="a-SCons">SCons</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to SCons</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
| 29 | <application>SCons</application> is a tool for building software
|
---|
| 30 | (and other files) implemented in <application>Python</application>.
|
---|
| 31 | </para>
|
---|
| 32 |
|
---|
[b9874725] | 33 | &lfs121_checked;
|
---|
[1b35ce63] | 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&scons-download-http;"/>
|
---|
| 40 | </para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&scons-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download MD5 sum: &scons-md5sum;
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download size: &scons-size;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Estimated disk space required: &scons-buildsize;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated build time: &scons-time;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect3">SCons Dependencies</bridgehead>
|
---|
| 70 |
|
---|
[3e9add2] | 71 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 72 | <para role="optional">
|
---|
[0dccf0ff] | 73 | <xref linkend="docbook-xsl"/> and
|
---|
[440647ab] | 74 | <xref role="runtime" linkend="libxslt"/>
|
---|
[3e9add2] | 75 | </para>
|
---|
| 76 |
|
---|
[1b35ce63] | 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2 role="installation">
|
---|
| 80 | <title>Installation of SCons</title>
|
---|
| 81 |
|
---|
[1cdea83] | 82 | <!-- Commented out because I don't think it's still needed. If
|
---|
| 83 | something bad happens please uncomment.
|
---|
| 84 | <screen><userinput>sed -i 's/env python/&3/' SCons/Utilities/*.py &&</userinput></screen> -->
|
---|
| 85 |
|
---|
[1b35ce63] | 86 | <para>
|
---|
[1cdea83] | 87 | Fix the install location of the man pages:
|
---|
[1b35ce63] | 88 | </para>
|
---|
| 89 |
|
---|
[1cdea83] | 90 | <screen><userinput>sed -i '/scons.1/s@^.@share/man/man1@' -i setup.cfg</userinput></screen>
|
---|
| 91 |
|
---|
| 92 | <para>
|
---|
| 93 | Build the package:
|
---|
| 94 | </para>
|
---|
[32f5b6f] | 95 |
|
---|
[1cdea83] | 96 | &build-wheel;
|
---|
[32f5b6f] | 97 |
|
---|
[1cdea83] | 98 | <para>
|
---|
| 99 | As the &root; user, install the package:
|
---|
| 100 | </para>
|
---|
[1b35ce63] | 101 |
|
---|
[1cdea83] | 102 | <screen role='root'><userinput>&install-wheel; SCons</userinput></screen>
|
---|
[1b35ce63] | 103 | </sect2>
|
---|
[7b88d5a] | 104 |
|
---|
[1b35ce63] | 105 | <sect2 role="content">
|
---|
| 106 | <title>Contents</title>
|
---|
| 107 |
|
---|
| 108 | <segmentedlist>
|
---|
| 109 | <segtitle>Installed Programs</segtitle>
|
---|
| 110 | <segtitle>Installed Libraries</segtitle>
|
---|
| 111 | <segtitle>Installed Directory</segtitle>
|
---|
| 112 |
|
---|
| 113 | <seglistitem>
|
---|
| 114 | <seg>
|
---|
[23aee7e] | 115 | scons, scons-configure-cache, and sconsign
|
---|
[1b35ce63] | 116 | </seg>
|
---|
| 117 | <seg>
|
---|
| 118 | None
|
---|
| 119 | </seg>
|
---|
| 120 | <seg>
|
---|
[1cdea83] | 121 | /usr/lib/python&python3-majorver;/site-packages/SCons{,-&scons-version;.dist-info}
|
---|
[1b35ce63] | 122 | </seg>
|
---|
| 123 | </seglistitem>
|
---|
| 124 | </segmentedlist>
|
---|
| 125 |
|
---|
| 126 | <variablelist>
|
---|
| 127 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 128 | <?dbfo list-presentation="list"?>
|
---|
| 129 | <?dbhtml list-presentation="table"?>
|
---|
| 130 |
|
---|
| 131 | <varlistentry id="scons-prog">
|
---|
| 132 | <term><command>scons</command></term>
|
---|
| 133 | <listitem>
|
---|
| 134 | <para>
|
---|
[4c24eb0a] | 135 | is a software construction tool
|
---|
[1b35ce63] | 136 | </para>
|
---|
| 137 | <indexterm zone="scons scons-prog">
|
---|
| 138 | <primary sortas="b-scons">scons</primary>
|
---|
| 139 | </indexterm>
|
---|
| 140 | </listitem>
|
---|
| 141 | </varlistentry>
|
---|
| 142 |
|
---|
[440647ab] | 143 | <varlistentry id="scons-configure-cache">
|
---|
| 144 | <term><command>scons-configure-cache</command></term>
|
---|
| 145 | <listitem>
|
---|
| 146 | <para>
|
---|
| 147 | shows or converts the configuration of an
|
---|
[4c24eb0a] | 148 | <application>SCons</application> cache directory
|
---|
[440647ab] | 149 | </para>
|
---|
| 150 | <indexterm zone="scons scons-configure-cache">
|
---|
| 151 | <primary sortas="b-scons-configure-cache">scons-configure-cache</primary>
|
---|
| 152 | </indexterm>
|
---|
| 153 | </listitem>
|
---|
| 154 | </varlistentry>
|
---|
| 155 |
|
---|
[1b35ce63] | 156 | <varlistentry id="sconsign">
|
---|
| 157 | <term><command>sconsign</command></term>
|
---|
| 158 | <listitem>
|
---|
| 159 | <para>
|
---|
| 160 | prints <application>SCons</application>
|
---|
[4c24eb0a] | 161 | <filename>.sconsign</filename> file information
|
---|
[1b35ce63] | 162 | </para>
|
---|
| 163 | <indexterm zone="scons sconsign">
|
---|
| 164 | <primary sortas="b-sconsign">sconsign</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 |
|
---|
[23aee7e] | 169 | <!-- Removed in 4.0.0
|
---|
[1b35ce63] | 170 | <varlistentry id="scons-time">
|
---|
| 171 | <term><command>scons-time</command></term>
|
---|
| 172 | <listitem>
|
---|
| 173 | <para>
|
---|
| 174 | generates and displays <application>SCons</application>
|
---|
| 175 | timing information.
|
---|
| 176 | </para>
|
---|
| 177 | <indexterm zone="scons scons-time">
|
---|
| 178 | <primary sortas="b-scons-time">scons-time</primary>
|
---|
| 179 | </indexterm>
|
---|
| 180 | </listitem>
|
---|
[23aee7e] | 181 | </varlistentry>
|
---|
| 182 | -->
|
---|
[1b35ce63] | 183 | </variablelist>
|
---|
| 184 |
|
---|
| 185 | </sect2>
|
---|
| 186 |
|
---|
| 187 | </sect1>
|
---|