Bruce Momjian wrote: > Peter Eisentraut wrote: > > On tis, 2010-01-26 at 10:20 -0800, David Fetter wrote: > > > On Tue, Jan 26, 2010 at 02:21:29PM +0000, Bruce Momjian wrote: > > > > Log Message: > > > > ----------- > > > > Remove tabs in SGML. > > > > > > Can we see about making a commit hook for CVS that disallows \t in > > > SGML files? The process in git is pretty simple. > > > > Better write a check in the makefile. > > Done, and attached. The rule is more shell script than makefile, but I > am not sure how else to do it.
Maybe have the check-tabs rule as a dependency of the "check", "html" and/or "draft" rules? > + check-tabs: > + ( ! grep ' ' $(wildcard $(srcdir)/*.sgml $(srcdir)/ref/*.sgml) ) > || (echo "Tabs appear in SGML files"; exit 1) -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers