Changeset da28cc3


Ignore:
Timestamp:
Feb 26, 2011, 9:23:17 PM (14 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
8c3f58f, eef46e9, fe99004
Parents:
879785b
Message:

Validate the book against relax-ng instead of the
standard DTD.

Location:
BOOK
Files:
12 added
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/Makefile

    r879785b rda28cc3  
    6464        @echo "Validating $(arch) book..."
    6565        $(Q)mkdir -p $(VALIDATEDIR)
    66         $(Q)xmllint --nonet --noent --xinclude --postvalid \
     66        $(Q)xmllint --nonet --noent --xinclude \
     67          --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \
    6768          -o $(VALIDATEDIR)/$(arch)-full.xml \
    6869          $(PWD)/$(arch)-index.xml
     
    153154$(ARCHS_VALIDATE):
    154155        @echo "Validating $(arch)..."
    155         $(Q)xmllint --xinclude --noout \
    156           --nonet --postvalid \
     156        $(Q)xmllint --xinclude --noout --nonet \
     157          --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \
    157158          $(PWD)/$(arch)-index.xml
    158159
     
    164165        @echo "Troubleshooting $(arch)..."
    165166        @mkdir -p $(TROUBLEDIR)
    166         $(Q)xmllint --xinclude --nonet --postvalid \
     167        $(Q)xmllint --xinclude --nonet \
     168          --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \
    167169          -o $(TROUBLEDIR)/dump-$(arch) \
    168170          $(PWD)/$(arch)-index.xml
    169         $(Q)xmllint --xinclude --noout --nonet --valid \
     171        $(Q)xmllint --xinclude --noout --nonet \
     172          --relaxng $(TOP)/schema/docbook/4.5/rng/docbook.rng \
    170173          $(TROUBLEDIR)/dump-$(arch)
    171174        @echo "You can now look at $(TROUBLEDIR)/dump-$(arch) to see the errors"
Note: See TracChangeset for help on using the changeset viewer.