Add SGML 'check-tabs' Makefile rule to check for tabs.

This commit is contained in:
Bruce Momjian 2010-02-05 14:51:50 +00:00
parent 7027aba980
commit cb4bd52ad9

View file

@ -2,7 +2,7 @@
#
# PostgreSQL documentation makefile
#
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.135 2010/01/06 19:07:05 tgl Exp $
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.136 2010/02/05 14:51:50 momjian Exp $
#
#----------------------------------------------------------------------------
@ -345,6 +345,8 @@ clean-man:
endif # sqlmansectnum != 7
check-tabs:
( ! grep ' ' $(wildcard $(srcdir)/*.sgml $(srcdir)/ref/*.sgml) ) || (echo "Tabs appear in SGML files"; exit 1)
##
## Clean