Re: port of INSTALL file generation to XSLT - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: port of INSTALL file generation to XSLT
Date
Msg-id a4053e52-708f-e648-0af9-e10ad4cff84f@2ndquadrant.com
Whole thread Raw
In response to Re: port of INSTALL file generation to XSLT  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 11/01/2019 22:05, Tom Lane wrote:
>> 2. If there's no pandoc, this coding silently produces a zero-size
>> INSTALL file.  I do not find that acceptable.
> 
> Seems like it might be sufficient for the rule to be
> 
>     $(PANDOC) $< -t plain > $@.tmp
>     $(ICONV) -f utf8 -t us-ascii//TRANSLIT < $@.tmp > $@
>     rm -f $@.tmp

Fixed.  (We use the same pattern for the dtrace invocation.)

I suppose the same issue would have existed with the previous rule using
lynx, but no one has ever run into it.

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


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] generated columns
Next
From: Andrey Borodin
Date:
Subject: Re: O_DIRECT for relations and SLRUs (Prototype)