Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit cb4bd52

Browse files
committed
Add SGML 'check-tabs' Makefile rule to check for tabs.
1 parent 7027aba commit cb4bd52

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/src/sgml/Makefile

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# PostgreSQL documentation makefile
44
#
5-
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.135 2010/01/06 19:07:05 tgl Exp $
5+
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.136 2010/02/05 14:51:50 momjian Exp $
66
#
77
#----------------------------------------------------------------------------
88

@@ -345,6 +345,8 @@ clean-man:
345345

346346
endif # sqlmansectnum != 7
347347

348+
check-tabs:
349+
( ! grep ' ' $(wildcard $(srcdir)/*.sgml $(srcdir)/ref/*.sgml) ) || (echo "Tabs appear in SGML files"; exit 1)
348350

349351
##
350352
## Clean

0 commit comments

Comments
 (0)