ninja: build manual with docbook (#41433)
It is not meant to be built with asciidoc alone: it lacks the table of contents and styles. See https://github.com/ninja-build/ninja/blob/v1.8.2/doc/README.md
This commit is contained in:
parent
a4e53b64d0
commit
41c8b92d4f
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, python, asciidoc, re2c }:
|
{ stdenv, fetchFromGitHub, python, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxslt, re2c }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ninja-${version}";
|
name = "ninja-${version}";
|
||||||
|
@ -11,11 +11,11 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "16scq9hcq6c5ap6sy8j4qi75qps1zvrf3p79j1vbrvnqzp928i5f";
|
sha256 = "16scq9hcq6c5ap6sy8j4qi75qps1zvrf3p79j1vbrvnqzp928i5f";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ python asciidoc re2c ];
|
nativeBuildInputs = [ python asciidoc docbook_xml_dtd_45 docbook_xsl libxslt.bin re2c ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
python configure.py --bootstrap
|
python configure.py --bootstrap
|
||||||
asciidoc doc/manual.asciidoc
|
./ninja manual
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
Loading…
Reference in a new issue