Validate when building outputs

This commit is contained in:
Graham Christensen 2018-03-24 22:22:38 -04:00
parent f67ea4a6d0
commit 30dd2d3feb
No known key found for this signature in database
GPG Key ID: ACA1C1D120C83D5C
2 changed files with 3 additions and 3 deletions

View File

@ -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/ \

View File

@ -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 = ./.;