diff options
author | Marc Fonvieille <blackend@FreeBSD.org> | 2003-08-27 07:10:36 +0000 |
---|---|---|
committer | Marc Fonvieille <blackend@FreeBSD.org> | 2003-08-27 07:10:36 +0000 |
commit | 21aca1de1c02974b58786ff7435d7f5af1865b2f (patch) | |
tree | 9802af87dede70d9bbda7583dffe7d34d1b6fe80 /share | |
parent | 2b48b32a137ecfac7ece1f4ad29d6ea39b8f3d98 (diff) | |
download | doc-21aca1de1c02974b58786ff7435d7f5af1865b2f.tar.gz doc-21aca1de1c02974b58786ff7435d7f5af1865b2f.zip |
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.
Notes
Notes:
svn path=/head/; revision=18006
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/doc.docbook.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/mk/doc.docbook.mk b/share/mk/doc.docbook.mk index d9a1928f8e..17d71328d9 100644 --- a/share/mk/doc.docbook.mk +++ b/share/mk/doc.docbook.mk @@ -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} # ------------------------------------------------------------------------ |