aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMarc Fonvieille <blackend@FreeBSD.org>2003-08-27 07:10:36 +0000
committerMarc Fonvieille <blackend@FreeBSD.org>2003-08-27 07:10:36 +0000
commit21aca1de1c02974b58786ff7435d7f5af1865b2f (patch)
tree9802af87dede70d9bbda7583dffe7d34d1b6fe80 /share
parent2b48b32a137ecfac7ece1f4ad29d6ea39b8f3d98 (diff)
downloaddoc-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.mk3
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}
# ------------------------------------------------------------------------