From: Peter Eisentraut Date: Wed, 27 Mar 2019 20:12:10 +0000 (+0100) Subject: Use Pandoc also for plain-text documentation output X-Git-Url: http://git.postgresql.org/gitweb/-?a=commitdiff_plain;h=2488ea7a9056ab4c0f1bbf56548e829fa40f9c4c;p=users%2Frhaas%2Fpostgres.git Use Pandoc also for plain-text documentation output The makefile rule for the (rarely used) plain-text output postgres.txt was still written to use lynx, but in 96b8b8b6f9d8de4af01a77797273ad88c7a8e32e, where the INSTALL file was switched to pandoc, the rest of the makefile support for lynx was removed, so this was broken. Rewrite the rule to also use pandoc for postgres.txt. --- diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile index 2420c55681..c40e670876 100644 --- a/doc/src/sgml/Makefile +++ b/doc/src/sgml/Makefile @@ -142,7 +142,7 @@ postgres.html: stylesheet-html-nochunk.xsl postgres.sgml $(ALLSGML) # single-page text postgres.txt: postgres.html - $(LYNX) -force_html -dump -nolist $< > $@ + $(PANDOC) -t plain -o $@ $< ##