Add more warnings to make lint. It should be possible now to find

empty and unclosed tags.  I used the word "should" because sometimes it
does not work, however most of malformed tags are found now.
That idea came after a talk with Denis Peplin.
This commit is contained in:
Marc Fonvieille 2003-08-27 07:10:36 +00:00
parent 2b48b32a13
commit 21aca1de1c
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=18006

View file

@ -119,6 +119,7 @@ SX?= ${PREFIX}/bin/osx
JADE?= ${PREFIX}/bin/jade
JADECATALOG?= ${PREFIX}/share/sgml/jade/catalog
NSGMLS?= ${PREFIX}/bin/nsgmls
NSGMLSWARNINGS= -wempty -wunclosed
SX?= ${PREFIX}/bin/sx
.endif
@ -583,7 +584,7 @@ ${DOC}.${_curformat}:
#
lint validate:
${NSGMLS} -s ${SGMLFLAGS} ${CATALOGS} ${MASTERDOC}
${NSGMLS} ${NSGMLSWARNINGS} -s ${SGMLFLAGS} ${CATALOGS} ${MASTERDOC}
# ------------------------------------------------------------------------