Ticket #28393: validate-simplify.patch

File validate-simplify.patch, 629 bytes (added by l2g@…, 14 years ago)

validate: change --valid to --postvalid and reduce 2 steps to 1

  • doc-new/Makefile

    old new  
    112112        $(RM) -f  guide.tmp.xml
    113113
    114114# Validate the XML files for the guide.
    115 # These two steps are necessary as otherwise xmllint complains about missing
    116 # ids.
    117115validate:
    118         $(XMLLINT) --xinclude $(GUIDE_SRC)/guide.xml > guide.tmp.xml
    119         $(XMLLINT) --loaddtd --valid --noout guide.tmp.xml
     116        $(XMLLINT) --xinclude --loaddtd --postvalid --noout $(GUIDE_SRC)/guide.xml