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:
@ -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
|
||||
|
Reference in New Issue
Block a user