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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] [PATCHES] SGML index build fix
Date: 2007-01-10 18:07:10
Message-ID: 200701101807.l0AI7Ae29638@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Peter Eisentraut wrote:
> Bruce Momjian wrote:
> > 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.
>
> Only the html rule modifies HTML.index.
>
> > 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
>
> It would much easier to just run the html rule before the other stuff.

OK, so just make HTML a depenency for those. Patch attached and
applied.

--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Attachment Content-Type Size
/rtmp/diff text/x-diff 4.4 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim C. Nasby 2007-01-10 18:15:47 Re: [HACKERS] [PATCHES] COPY with no WAL, in certain circumstances
Previous Message Simon Riggs 2007-01-10 17:18:00 Re: Mark/Restore and avoiding RandomAccess sorts

Browse pgsql-patches by date

  From Date Subject
Next Message Jim C. Nasby 2007-01-10 18:15:47 Re: [HACKERS] [PATCHES] COPY with no WAL, in certain circumstances
Previous Message Peter Eisentraut 2007-01-10 17:14:49 Re: [HACKERS] [PATCHES] SGML index build fix