[postgis-commits] svn - r2853 - trunk/doc

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Tue Jul 15 08:33:19 PDT 2008


Author: kneufeld
Date: 2008-07-15 08:33:19 -0700 (Tue, 15 Jul 2008)
New Revision: 2853

Modified:
   trunk/doc/Makefile.in
Log:
applied patch from Mark to fix the if/then/else so the Makefile can run on older systems (ie. FC3)

Modified: trunk/doc/Makefile.in
===================================================================
--- trunk/doc/Makefile.in	2008-07-15 11:34:22 UTC (rev 2852)
+++ trunk/doc/Makefile.in	2008-07-15 15:33:19 UTC (rev 2853)
@@ -26,22 +26,23 @@
 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 @@
 	@echo
 
 .PHONY: html
- 
+



More information about the postgis-commits mailing list