mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
configure check for docbook2man program, used in the new XML-based man
page build target. This covers from-source, Debian, and Fedora installation variants.
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
#
|
||||
# PostgreSQL documentation makefile
|
||||
#
|
||||
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.112 2008/11/14 10:22:45 petere Exp $
|
||||
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.113 2008/11/26 11:26:54 petere Exp $
|
||||
#
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
@ -37,6 +37,10 @@ ifndef SGMLSPL
|
||||
SGMLSPL = sgmlspl
|
||||
endif
|
||||
|
||||
ifndef DOCBOOK2MAN
|
||||
DOCBOOK2MAN = docbook2man_is_missing
|
||||
endif
|
||||
|
||||
# docbook2man generates man pages from docbook refentry source code.
|
||||
D2MSCRIPT= $(D2MDIR)/docbook2man-spec.pl
|
||||
D2MLINKS = $(D2MDIR)/docbook2man-spec_makelinks
|
||||
@ -276,9 +280,6 @@ MAKEINFO = makeinfo
|
||||
## Experimental man page building through docbook2x
|
||||
##
|
||||
|
||||
# called docbook2man on non-Debian
|
||||
DOCBOOK2MAN = docbook2x-man
|
||||
|
||||
manx: postgres.xml stylesheet-man.xsl
|
||||
$(DOCBOOK2MAN) --solinks -s $(srcdir)/stylesheet-man.xsl --string-param default-manpage-section=$(DEFAULTSECTION) $<
|
||||
$(mkinstalldirs) man1 man7
|
||||
|
Reference in New Issue
Block a user