From 0ef0336a524fd48504d2d2c2e8603cb1aa7d30cb Mon Sep 17 00:00:00 2001 From: Kevin Neufeld Date: Tue, 15 Jul 2008 15:33:19 +0000 Subject: [PATCH] applied patch from Mark to fix the if/then/else so the Makefile can run on older systems (ie. FC3) git-svn-id: http://svn.osgeo.org/postgis/trunk@2853 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/Makefile.in | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/doc/Makefile.in b/doc/Makefile.in index fd8fe81fd..0528e133b 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -26,22 +26,23 @@ XSLTPROC_COMMONOPTS = \ XSLTPROC_HTMLOPTS = \ --stringparam html.stylesheet style.css \ -HTML_DOCBOOK_XSL=$(XSLBASE)/html/docbook.xsl -CHUNK_HTML_DOCBOOK_XSL=$(XSLBASE)/html/chunk.xsl +HTML_DOCBOOK_XSL=$(XSLBASE)/html/docbook.xsl +CHUNK_HTML_DOCBOOK_XSL=$(XSLBASE)/html/chunk.xsl # Directories for documentation and man pages PGSQL_DOCDIR=@PGSQL_DOCDIR@ PGSQL_MANDIR=@PGSQL_MANDIR@ - -# If XSLTPROC or XSLBASE were not found during configure, we cannot -# build the documentation -ifndef XSLTPROC -all: requirements_not_met_xsltproc -else ifndef XSLBASE -all: requirements_not_met_xslbase -else -all: html/postgis.html +# If XSLTPROC or XSLBASE were not found during configure, we cannot +# build the documentation +ifeq ($(XSLTPROC),) +all: requirements_not_met_xsltproc +else +ifeq ($(XSLBASE),) +all: requirements_not_met_xslbase +else +all: html/postgis.html +endif endif postgis-out.xml: postgis.xml introduction.xml installation.xml faq.xml using_postgis.xml performance_tips.xml reference.xml reference_new.xml reporting.xml release_notes.xml ../Version.config @@ -105,4 +106,4 @@ requirements_not_met_xslbase: @echo .PHONY: html - + -- 2.50.1