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

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Tue May 20 15:24:09 PDT 2008


Author: mcayland
Date: 2008-05-20 15:24:09 -0700 (Tue, 20 May 2008)
New Revision: 2778

Added:
   trunk/doc/Makefile.in
Removed:
   trunk/doc/Makefile
Log:
Update previous commit: add Makefile.in and remove Makefile, since Makefile is now generated from Makefile.in automatically.

Deleted: trunk/doc/Makefile
===================================================================
--- trunk/doc/Makefile	2008-05-20 22:10:54 UTC (rev 2777)
+++ trunk/doc/Makefile	2008-05-20 22:24:09 UTC (rev 2778)
@@ -1,81 +0,0 @@
-#
-# PostGIS documentation build Makefile
-#
-
-XSLTPROC = /usr/bin/xsltproc 
-XSLBASE = /usr/share/xml/docbook/stylesheet/nwalsh
-
-XSLTPROC_COMMONOPTS = \
-	--param section.autolabel 1 \
-	--param section.label.includes.component.label 1 \
-	--param chunk.section.depth 0 
-
-XSLTPROC_HTMLOPTS = \
-	--stringparam html.stylesheet style.css \
-
-HTML_DOCBOOK_XSL=$(XSLBASE)/html/docbook.xsl 
-CHUNK_HTML_DOCBOOK_XSL=$(XSLBASE)/html/chunk.xsl 
-
-
-# If XSLTPROC was not found during configure, we cannot
-# build the documentation
-ifdef XSLTPROC
-all: html/postgis.html
-else
-all: requirements_not_met
-endif
-
-
-postgis-out.xml: postgis.xml long_xact.xml ../Version.config
-	cat $< | sed "s/@@LAST_RELEASE_VERSION@@/1.4.0/g" > $@
-
-chunked-html: postgis-out.xml
-	$(XSLTPROC) $(XSLTPROC_COMMONOPTS) $(XSLTPROC_HTMLOPTS) \
-		--output html/ \
-		--stringparam saxon.character.representation decimal \
-		$(CHUNK_HTML_DOCBOOK_XSL) \
-		$<
-
-html/postgis.html: postgis-out.xml
-	$(XSLTPROC) $(XSLTPROC_COMMONOPTS) $(XSLTPROC_HTMLOPTS) \
-		--output html/postgis.html \
-		$(HTML_DOCBOOK_XSL) \
-		$<
-
-clean:
-	@rm -f \
-		postgis-out.xml \
-		postgis.aux \
-		postgis.fo \
-		postgis.pdf \
-		postgis.out \
-		postgis.log
-
-maintainer-clean: clean
-	@rm -f html/*.html
-
-install: html/postgis.html man/shp2pgsql.1 man/pgsql2shp.1
-	@mkdir -p $(DESTDIR)$(docdir)/postgis
-	@mkdir -p $(DESTDIR)$(mandir)/man1
-	$(INSTALL_DATA) html/postgis.html $(DESTDIR)$(docdir)/postgis/postgis.html
-	$(INSTALL_DATA) ../README.postgis $(DESTDIR)$(docdir)/postgis/README.postgis
-	$(INSTALL_DATA) man/pgsql2shp.1 $(DESTDIR)$(mandir)/man1/pgsql2shp.1
-	$(INSTALL_DATA) man/shp2pgsql.1 $(DESTDIR)$(mandir)/man1/shp2pgsql.1
-
-uninstall:
-	rm -f $(DESTDIR)$(docdir)/postgis/postgis.html
-	rm -f $(DESTDIR)$(docdir)/postgis/README.postgis
-	rm -f $(DESTDIR)$(mandir)/man1/shp2pgsql.1
-	rm -f $(DESTDIR)$(mandir)/man1/pgsql2shp.1
-
-requirements_not_met:
-	@echo
-	@echo "configure was unable to find 'xsltproc' which is required to build the documentation."
-	@echo "To build the documentation, install xsltproc and then re-run configure. Alternatively "
-	@echo "refer to online manual:"
-	@echo
-	@echo "  http://postgis.refractions.net/docs"
-	@echo
-
-.PHONY: html
- 

Added: trunk/doc/Makefile.in
===================================================================
--- trunk/doc/Makefile.in	2008-05-20 22:10:54 UTC (rev 2777)
+++ trunk/doc/Makefile.in	2008-05-20 22:24:09 UTC (rev 2778)
@@ -0,0 +1,81 @@
+#
+# PostGIS documentation build Makefile
+#
+
+XSLTPROC = @XSLTPROC@
+XSLBASE = @XSLBASE@
+
+XSLTPROC_COMMONOPTS = \
+	--param section.autolabel 1 \
+	--param section.label.includes.component.label 1 \
+	--param chunk.section.depth 0 
+
+XSLTPROC_HTMLOPTS = \
+	--stringparam html.stylesheet style.css \
+
+HTML_DOCBOOK_XSL=$(XSLBASE)/html/docbook.xsl 
+CHUNK_HTML_DOCBOOK_XSL=$(XSLBASE)/html/chunk.xsl 
+
+
+# If XSLTPROC was not found during configure, we cannot
+# build the documentation
+ifdef XSLTPROC
+all: html/postgis.html
+else
+all: requirements_not_met
+endif
+
+
+postgis-out.xml: postgis.xml long_xact.xml ../Version.config
+	cat $< | sed "s/@@LAST_RELEASE_VERSION@@/@POSTGIS_LIB_VERSION@/g" > $@
+
+chunked-html: postgis-out.xml
+	$(XSLTPROC) $(XSLTPROC_COMMONOPTS) $(XSLTPROC_HTMLOPTS) \
+		--output html/ \
+		--stringparam saxon.character.representation decimal \
+		$(CHUNK_HTML_DOCBOOK_XSL) \
+		$<
+
+html/postgis.html: postgis-out.xml
+	$(XSLTPROC) $(XSLTPROC_COMMONOPTS) $(XSLTPROC_HTMLOPTS) \
+		--output html/postgis.html \
+		$(HTML_DOCBOOK_XSL) \
+		$<
+
+clean:
+	@rm -f \
+		postgis-out.xml \
+		postgis.aux \
+		postgis.fo \
+		postgis.pdf \
+		postgis.out \
+		postgis.log
+
+maintainer-clean: clean
+	@rm -f html/*.html
+
+install: html/postgis.html man/shp2pgsql.1 man/pgsql2shp.1
+	@mkdir -p $(DESTDIR)$(docdir)/postgis
+	@mkdir -p $(DESTDIR)$(mandir)/man1
+	$(INSTALL_DATA) html/postgis.html $(DESTDIR)$(docdir)/postgis/postgis.html
+	$(INSTALL_DATA) ../README.postgis $(DESTDIR)$(docdir)/postgis/README.postgis
+	$(INSTALL_DATA) man/pgsql2shp.1 $(DESTDIR)$(mandir)/man1/pgsql2shp.1
+	$(INSTALL_DATA) man/shp2pgsql.1 $(DESTDIR)$(mandir)/man1/shp2pgsql.1
+
+uninstall:
+	rm -f $(DESTDIR)$(docdir)/postgis/postgis.html
+	rm -f $(DESTDIR)$(docdir)/postgis/README.postgis
+	rm -f $(DESTDIR)$(mandir)/man1/shp2pgsql.1
+	rm -f $(DESTDIR)$(mandir)/man1/pgsql2shp.1
+
+requirements_not_met:
+	@echo
+	@echo "configure was unable to find 'xsltproc' which is required to build the documentation."
+	@echo "To build the documentation, install xsltproc and then re-run configure. Alternatively "
+	@echo "refer to online manual:"
+	@echo
+	@echo "  http://postgis.refractions.net/docs"
+	@echo
+
+.PHONY: html
+ 



More information about the postgis-commits mailing list