mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
manual: use a better relaxng validation tool #4966
This commit is contained in:
parent
e2e56a902f
commit
ccdda96c2f
1 changed files with 3 additions and 3 deletions
|
@ -67,9 +67,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue