postgrespro.git / summary / log / commit / refs

commit    7aa00d2464b4e14d553e8a64adacfe9741939e14
Author:   Peter Eisentraut <peter@eisentraut.org>
Date:     Thu Feb 21 14:39:37 2019 +0000

    Fix dbtoepub output file name
    
    In previous releases, the input file of dbtoepub was postgres.xml, and
    dbtoepub knows to derive the output file name postgres.epub from that
    automatically.  But now the intput file is postgres.sgml (since
    postgres.sgml is itself an XML file and we no longer need the
    intermediate postgres.xml file), but dbtoepub doesn't know how to deal
    with the .sgml suffix, so the automatically derived output file name
    becomes postgres.sgml.epub.  Fix by adding an explicit -o option.


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 8326c7c673..2420c55681 100644 --- a/doc/src/sgml/Makefile +++ b/doc/src/sgml/Makefile @@ -171,7 +171,7 @@ postgres.pdf: epub: postgres.epub postgres.epub: postgres.sgml $(ALLSGML) $(XMLLINT) --noout --valid $< - $(DBTOEPUB) $< + $(DBTOEPUB) -o $@ $< ## [parent: fa86238f1eac]