Add SGML 'check-tabs' Makefile rule to check for tabs.
This commit is contained in:
parent
7027aba980
commit
cb4bd52ad9
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# PostgreSQL documentation makefile
|
# 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
|
endif # sqlmansectnum != 7
|
||||||
|
|
||||||
|
check-tabs:
|
||||||
|
( ! grep ' ' $(wildcard $(srcdir)/*.sgml $(srcdir)/ref/*.sgml) ) || (echo "Tabs appear in SGML files"; exit 1)
|
||||||
|
|
||||||
##
|
##
|
||||||
## Clean
|
## Clean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user