From cb4bd52ad99dcb6a2e224c262d40bc360dcf8e92 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 5 Feb 2010 14:51:50 +0000 Subject: [PATCH] Add SGML 'check-tabs' Makefile rule to check for tabs. --- doc/src/sgml/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile index 223bfbb094..469ed31cdb 100644 --- a/doc/src/sgml/Makefile +++ b/doc/src/sgml/Makefile @@ -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 -- 2.40.0