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:
parent
2b48b32a13
commit
21aca1de1c
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=18006
1 changed files with 2 additions and 1 deletions
|
@ -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}
|
||||
|
||||
|
||||
# ------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue