Re: [HACKERS] SGML index build fix

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] SGML index build fix
Date: 2007-01-08 08:57:21
Message-ID: 200701080957.23526.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Am Montag, 8. Januar 2007 05:10 schrieb Bruce Momjian:
> Here is a patch that runs the build twice when HTML.index does not
> exist, and once every time after that. This is not ideal, but it is a
> start.

The problem is that this requires two runs even to proof the documentation,
which I think no one wants.

> ! # If HTML.index is zero length, create a dummy bookindex.sgml
> ! test -s HTML.index || $(COLLATEINDEX) -o $@ -N
> ! # If HTML.index is valid, create valid bookindex.sgml. This
> ! # is required so the output has a proper index.
> ! test ! -s HTML.index || $(COLLATEINDEX) -i 'bookindex' -o $@ $<

Please indent the comments properly so they don't appear in the output.

> ! HTML.index:
> ! test -f HTML.index || (touch HTML.index && $(MAKE) $(MAKECMDGOALS))

I think this is partially redundant. If HTML.index exists, then this
rule will never be called.

> ! rm -f HTML.manifest *.html *.gif bookindex.skip

I don't see bookindex.skip mentioned anywhere else. Left over from a
previous version?

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2007-01-08 10:30:14 Re: 8.3 pending patch queue
Previous Message Albe Laurenz 2007-01-08 08:56:14 Re: security definer default for some PL languages (SQL/PSM)?

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-01-08 15:54:23 Re: BCC55 and libpq 8.2
Previous Message Jaime Casanova 2007-01-08 05:27:41 Re: Tablespace for temporary objects and sort files