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