Re: [HACKERS] [PATCHES] SGML index build fix

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
Re: [HACKERS] [PATCHES] SGML index build fix
Дата
Msg-id
200701101636.l0AGaRD25568@momjian.us
Ответ на
Список
Дерево обсуждения
SGML index build fix Bruce Momjian <bruce@momjian.us>
Re: SGML index build fix Peter Eisentraut <peter_e@gmx.net>
Re: SGML index build fix Bruce Momjian <bruce@momjian.us>
Re: SGML index build fix Peter Eisentraut <peter_e@gmx.net>
Re: SGML index build fix Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] SGML index build fix "Joshua D. Drake" <jd@commandprompt.com>
Re: [HACKERS] SGML index build fix Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] SGML index build fix Martijn van Oosterhout <kleptog@svana.org>
Re: [HACKERS] SGML index build fix Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] SGML index build fix Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] SGML index build fix Peter Eisentraut <peter_e@gmx.net>
Re: [HACKERS] SGML index build fix Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] SGML index build fix Gavin Sherry <swm@linuxworld.com.au>
Re: [HACKERS] SGML index build fix Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] SGML index build fix Peter Eisentraut <peter_e@gmx.net>
Re: [HACKERS] SGML index build fix Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] SGML index build fix Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] SGML index build fix Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] SGML index build fix Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] SGML index build fix Peter Eisentraut <peter_e@gmx.net>
Re: [HACKERS] SGML index build fix Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] [PATCHES] SGML index build fix Peter Eisentraut <peter_e@gmx.net>
Re: [HACKERS] [PATCHES] SGML index build fix Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] [PATCHES] SGML index build fix Peter Eisentraut <peter_e@gmx.net>
Re: [HACKERS] [PATCHES] SGML index build fix Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] SGML index build fix Peter Eisentraut <peter_e@gmx.net>
Re: [HACKERS] SGML index build fix Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] SGML index build fix Peter Eisentraut <peter_e@gmx.net>
Re: [HACKERS] SGML index build fix Bruce Momjian <bruce@momjian.us>
Re: SGML index build fix Bruce Momjian <bruce@momjian.us>
Re: [HACKERS] SGML index build fix Bruce Momjian <bruce@momjian.us>
Peter Eisentraut wrote:
> Am Mittwoch, 10. Januar 2007 01:41 schrieb Bruce Momjian:
> > Peter Eisentraut wrote:
> > > Bruce Momjian wrote:
> > > > > ? %-A4.tex-ps: %.sgml $(ALLSGML) stylesheet.dsl bookindex.sgml
> > > > > ? ????$(JADE.tex.call) -V texdvi-output -V '%paper-type%'=A4 -o $@ $<
> > > > > + ifndef DRAFT
> > > > > + ????@cmp -s HTML.index.start HTML.index || $(MAKE) $*
> > > > > + endif
> > >
> > > What is the point of that?
> >
> > If HTML.index changed during the build, we need to rerun it until it is
> > unchanged.
> 
> But that rule doesn't change HTML.index.

Now that the rule is right:

	%-A4.tex-ps: %.sgml $(ALLSGML) stylesheet.dsl bookindex.sgml
	        $(JADE.tex.call) -V texdvi-output -V '%paper-type%'=A4 -o $@ $<
	ifndef DRAFT
	        @cmp -s HTML.index.start HTML.index || $(MAKE) $@
	endif

The rule re-runs the makefile for the specific target, and the target
modifies HTML.index, or it is only the HTML rule that modifies that.
That was a question I had.  If that is true, it has to be:

	%-A4.tex-ps: %.sgml $(ALLSGML) stylesheet.dsl bookindex.sgml
	        $(JADE.tex.call) -V texdvi-output -V '%paper-type%'=A4 -o $@ $<
	ifndef DRAFT
	        @cmp -s HTML.index.start HTML.index || $(MAKE) html $@
	endif

-- 
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +
В списке pgsql-patches по дате отправления
От: Bruce Momjian
Дата:
От: Alvaro Herrera
Дата:
FAQ