From 27b3c1ea8bfdfff0890406c5dcf1e2f040dcaea2 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Fri, 4 Mar 2005 19:34:47 +0000 Subject: [PATCH] cleanups - version file source git-svn-id: http://svn.osgeo.org/postgis/trunk@1493 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/Makefile | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index e1609704d..a573efccb 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,15 +1,20 @@ COMMONOPTS = -f docbook -b html -e no-valid -LAST_RELEASE_VERSION = 1.0.0 + +# fetch version numbers from central repository +include ../Version.config + +LAST_RELEASE_VERSION = $(SO_MAJOR_VERSION).$(SO_MINOR_VERSION).$(SO_MICRO_VERSION) XSLBASE?=/usr/share/sgml/docbook/xsl-stylesheets all: html -postgis-out.xml: postgis.xml +postgis-out.xml: postgis.xml ../Version.config cat $< | sed "s/@@LAST_RELEASE_VERSION@@/$(LAST_RELEASE_VERSION)/g" > $@ chunked-html: postgis-out.xml xsltproc \ + --output html/ \ --param shade.verbatim 1 \ --param chunk.section.depth 0 \ --param section.autolabel 1 \ @@ -19,7 +24,7 @@ chunked-html: postgis-out.xml $(XSLBASE)/html/chunk.xsl \ $< -html: postgis-out.xml +html/postgis.html: postgis-out.xml xsltproc \ --output html/postgis.html \ --param shade.verbatim 1 \ @@ -30,6 +35,8 @@ html: postgis-out.xml $(XSLBASE)/html/docbook.xsl \ $< +html: html/postgis.html + postgis.fo: postgis-out.xml xsltproc \ --output $@ \ @@ -56,3 +63,8 @@ clean: postgis.out \ postgis.log +maintainer-clean: clean + @rm -f html/*.html + + +.PHONY: html -- 2.40.0