Re: [HACKERS] Skip unneeded temp file in 'make html' - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] Skip unneeded temp file in 'make html'
Date
Msg-id 5ff8239d-200e-c49f-f051-3f7546a944d4@2ndquadrant.com
Whole thread Raw
In response to [HACKERS] Skip unneeded temp file in 'make html'  (David Fetter <david@fetter.org>)
Responses Re: [HACKERS] Skip unneeded temp file in 'make html'  (David Fetter <david@fetter.org>)
List pgsql-hackers
On 11/2/17 22:07, David Fetter wrote:
>  postgres.xml: $(srcdir)/postgres.sgml $(ALLSGML)
> -    $(OSX) $(SPFLAGS) $(SGMLINCLUDE) -x lower $< >$@.tmp
> -    $(call mangle-xml,book)
> +    $(OSX) $(SPFLAGS) $(SGMLINCLUDE) -x lower $< | $(call mangle-xml,book)

The reason why it's not done that way is that this would not catch
errors of the command before the pipe.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

pgsql-hackers by date:

Previous
From: Antonin Houska
Date:
Subject: Re: [HACKERS] WIP: Aggregation push-down
Next
From: David Fetter
Date:
Subject: Re: [HACKERS] Skip unneeded temp file in 'make html'