Ninja-1.8.2

Introduction to Ninja

Ninja is a small build system with a focus on speed.

[注記]

注記

This package was installed as a part of the base LFS system. The only reason to reinstall is to use the optional dependencies for additional support files or documentation.

本パッケージは LFS-8.3 において正しくビルドでき動作することが確認されています。

Package Information

Ninja Dependencies

Required

Python-3.7.0

Optional

asciidoc-8.6.9 (to build the manual), Emacs-26.1 (to generate lisp files), Doxygen-1.8.14 (to build API documentation), and re2c (only needed to modify the build)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/ninja

Installation of Ninja

Install Ninja by running the following commands:

python3 configure.py --bootstrap

If Emacs is installed and you wish to build lisp files:

emacs -Q --batch -f batch-byte-compile misc/ninja-mode.el

To test the results, issue the following commands:

python3 configure.py &&
./ninja ninja_test   &&
./ninja_test --gtest_filter=-SubprocessTest.SetWithLots

Now, as the root user:

install -vm755 ninja /usr/bin/ &&
install -vDm644 misc/ninja.vim \
                /usr/share/vim/vim80/syntax/ninja.vim &&
install -vDm644 misc/bash-completion \
                /usr/share/bash-completion/completions/ninja &&
install -vDm644 misc/zsh-completion \
                /usr/share/zsh/site-functions/_ninja

If Emacs is installed, while still the root user:

install -vDm644 misc/ninja-mode.el \
                /usr/share/emacs/site-lisp/ninja-mode.el
install -vDm644 misc/ninja-mode.elc \
                /usr/share/emacs/site-lisp/ninja-mode.elc

If you have asciidoc-8.6.9 installed and wish to build the HTML manual, execute the following commands (as the root user):

ninja manual &&
install -vDm644 doc/manual.html /usr/share/doc/ninja-1.8.2/manual.html

If you have Doxygen-1.8.14 installed and wish to build the API documentation, execute the following commands (as the root user):

ninja doxygen &&
install -vDm644 -t /usr/share/doc/ninja-1.8.2/ doc/doxygen/html/*

Command Explanations

emacs -Q --batch -f batch-byte-compile misc/ninja-mode.el: regenerates the emacs lisp files.

Contents

Installed Programs: ninja
Installed Library: none
Installed Directories: /usr/share/doc/ninja-1.8.2

Short Descriptions

ninja

is the Ninja build system.

最終更新日: 2018-08-26 08:06:17 +0900