diff options
author | Graham Christensen <graham@grahamc.com> | 2018-03-24 22:22:38 -0400 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2018-03-25 19:52:08 -0400 |
commit | 30dd2d3feb6d872372ee6f9ec86e58c3367589c7 (patch) | |
tree | e1f1e043b0e1e5cfb21e352d187575ee36647c62 /doc | |
parent | f67ea4a6d0b14a61af3ccd98ef1a37ce870162e1 (diff) |
Validate when building outputs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile | 4 | ||||
-rw-r--r-- | doc/default.nix | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/Makefile b/doc/Makefile index 366d971d78193..1ef668528add5 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -11,7 +11,7 @@ clean: validate: manual-full.xml jing "$$RNG" manual-full.xml -out/html/index.html: manual-full.xml style.css +out/html/index.html: validate manual-full.xml style.css mkdir -p out/html xsltproc $$xsltFlags \ --nonet --xinclude \ @@ -24,7 +24,7 @@ out/html/index.html: manual-full.xml style.css mkdir -p out/html/images/callouts cp "$$XSL/docbook/images/callouts/"*.gif out/html/images/callouts/ -out/epub/manual.epub: manual-full.xml +out/epub/manual.epub: validate manual-full.xml mkdir -p out/epub/scratch xsltproc $$xsltFlags --nonet \ --output out/epub/scratch/ \ diff --git a/doc/default.nix b/doc/default.nix index b04c9c1b55667..5869920415c37 100644 --- a/doc/default.nix +++ b/doc/default.nix @@ -7,7 +7,7 @@ in pkgs.stdenv.mkDerivation { name = "nixpkgs-manual"; - buildInputs = with pkgs; [ pandoc libxml2 libxslt zip ]; + buildInputs = with pkgs; [ pandoc libxml2 libxslt zip jing ]; src = ./.; |