postgrespro.git / summary / log / commit / refs
commit 2488ea7a9056ab4c0f1bbf56548e829fa40f9c4c
Author: Peter Eisentraut <peter@eisentraut.org>
Date: Wed Mar 27 20:12:10 2019 +0000
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.
doc/src/sgml/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 $@ $<
##
[parent: a63b29a1dea0]