1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

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.
This commit is contained in:
Peter Eisentraut
2014-09-13 20:14:17 -04:00
parent 839acf9461
commit c2a01439c0
4 changed files with 53 additions and 6 deletions

View File

@ -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