Re: [COMMITTERS] pgsql: Remove tabs in SGML.

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [COMMITTERS] pgsql: Remove tabs in SGML.
Дата
Msg-id 20100205190422.GA3736@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Remove tabs in SGML.  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
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.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Remove tabs in SGML.
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Confusion over Python drivers