source: chapter06/ninja.xml@ b0aabe0

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 8.2 8.2-rc1 8.3 8.3-rc1 8.3-rc2 8.4 8.4-rc1 9.0 9.0-rc1 9.1 9.1-rc1 cross-chap5 ml-11.0 multilib old-trunk trunk xry111/git-transition xry111/glibc-2.34 xry111/tester-nohack xry111/usr-move
Last change on this file since b0aabe0 was b0aabe0, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Add Meson-0.42.1.
Add Ninja-1.8.2.
Add Python-3.6.2.
Add libffi-3.2.1.
Update to eudev-3.2.4.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11303 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
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]>
7
8<sect1 id="ch-system-ninja" role="wrap">
9 <?dbhtml filename="ninja.html"?>
10
11 <sect1info condition="script">
12 <productname>ninja</productname>
13 <productnumber>&ninja-version;</productnumber>
14 <address>&ninja-url;</address>
15 </sect1info>
16
17 <title>Ninja-&ninja-version;</title>
18
19 <indexterm zone="ch-system-ninja">
20 <primary sortas="a-Ninja">Ninja</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>Ninja is a small build system with a focus on speed.</para>
27
28 <segmentedlist>
29 <segtitle>&buildtime;</segtitle>
30 <segtitle>&diskspace;</segtitle>
31
32 <seglistitem>
33 <seg>&ninja-ch6-sbu;</seg>
34 <seg>&ninja-ch6-du;</seg>
35 </seglistitem>
36 </segmentedlist>
37
38 </sect2>
39
40 <sect2 role="installation">
41 <title>Installation of Ninja</title>
42
43 <para>Prepare Ninja for compilation:</para>
44
45<screen><userinput remap="configure">python3 configure.py --bootstrap</userinput></screen>
46
47 <variablelist>
48 <title>The meaning of the configure options:</title>
49
50 <varlistentry>
51 <term><parameter>--bootstrap</parameter></term>
52 <listitem>
53 <para>This parameter forces ninja to rebuild itself for the current
54 system.</para>
55 </listitem>
56 </varlistentry>
57
58 </variablelist>
59
60 <para>To test the results, issue:</para>
61
62<screen><userinput remap="test">python3 configure.py
63./ninja ninja_test
64./ninja_test --gtest_filter=-SubprocessTest.SetWithLots</userinput></screen>
65
66 <para>Install the package:</para>
67
68<screen><userinput remap="install">install -vm755 ninja /usr/bin/
69install -vDm644 misc/ninja.vim \
70 /usr/share/vim/vim&vim-majmin;/syntax/ninja.vim
71install -vDm644 misc/bash-completion \
72 /usr/share/bash-completion/completions/ninja
73install -vDm644 misc/zsh-completion \
74 /usr/share/zsh/site-functions/_ninja</userinput></screen>
75
76 </sect2>
77
78 <sect2 id="contents-ninja" role="content">
79 <title>Contents of Ninja</title>
80
81 <segmentedlist>
82 <segtitle>Installed programs</segtitle>
83
84 <seglistitem>
85 <seg>ninja</seg>
86 </seglistitem>
87 </segmentedlist>
88 <variablelist>
89 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
90 <?dbfo list-presentation="list"?>
91 <?dbhtml list-presentation="table"?>
92
93 <varlistentry id="ninja">
94 <term><command>ninja</command></term>
95 <listitem>
96 <para>is the Ninja build system.</para>
97 <indexterm zone="ch-system-ninja ninja">
98 <primary sortas="b-ninja">ninja</primary>
99 </indexterm>
100 </listitem>
101 </varlistentry>
102
103 </variablelist>
104
105 </sect2>
106
107</sect1>
108
Note: See TracBrowser for help on using the repository browser.