manual: use a better relaxng validation tool #4966

(cherry picked from commit ccdda96c2f)
Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
Domen Kožar 2016-03-30 18:07:34 +01:00
parent e8c74f4c61
commit d2e4593240

View File

@ -63,9 +63,9 @@ stdenv.mkDerivation {
+ ''
echo ${nixpkgsVersion} > .version
xmllint --noout --nonet --xinclude --noxincludenode \
--relaxng ${docbook5}/xml/rng/docbook/docbook.rng \
manual.xml
# validate against relaxng schema
xmllint --nonet --xinclude --noxincludenode manual.xml --output manual-full.xml
${jing}/bin/jing ${docbook5}/xml/rng/docbook/docbook.rng manual-full.xml
dst=$out/share/doc/nixpkgs
mkdir -p $dst