Add SGML 'check-tabs' Makefile rule to check for tabs.
authorBruce Momjian <[email protected]>
Fri, 5 Feb 2010 14:51:50 +0000 (14:51 +0000)
committerBruce Momjian <[email protected]>
Fri, 5 Feb 2010 14:51:50 +0000 (14:51 +0000)
doc/src/sgml/Makefile

index c2a34c0dc65d74b61e54cedfbea0c7865c2adb4d..24381ebb6cc63b800cb310938a653247c3d81e45 100644 (file)
@@ -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