From c2a01439c04404ad8b271f788188c807a3de67d1 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 13 Sep 2014 20:14:17 -0400 Subject: Run missing documentation tools through "missing" Instead of just erroring out when a tool is missing, wrap the call with the "missing" script that we are already using for bison, flex, and perl, so that the users get a useful error message. --- doc/src/sgml/Makefile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile index 271c700065c..1d42be8951b 100644 --- a/doc/src/sgml/Makefile +++ b/doc/src/sgml/Makefile @@ -27,27 +27,29 @@ all: html man distprep: html distprep-man +ifndef DBTOEPUB +DBTOEPUB = $(missing) dbtoepub +endif + ifndef JADE -JADE = jade +JADE = $(missing) jade endif SGMLINCLUDE = -D . -D $(srcdir) ifndef NSGMLS -NSGMLS = nsgmls +NSGMLS = $(missing) nsgmls endif ifndef OSX -OSX = osx +OSX = $(missing) osx endif ifndef XSLTPROC -XSLTPROC = xsltproc +XSLTPROC = $(missing) xsltproc endif override XSLTPROCFLAGS += --stringparam pg.version '$(VERSION)' -DBTOEPUB ?= dbtoepub - GENERATED_SGML = bookindex.sgml version.sgml \ features-supported.sgml features-unsupported.sgml errcodes-table.sgml -- cgit v1.2.3