summaryrefslogtreecommitdiff
path: root/databases/postgis/files/patch-doc
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgis/files/patch-doc')
-rw-r--r--databases/postgis/files/patch-doc50
1 files changed, 50 insertions, 0 deletions
diff --git a/databases/postgis/files/patch-doc b/databases/postgis/files/patch-doc
new file mode 100644
index 000000000000..dc97f38b2b7d
--- /dev/null
+++ b/databases/postgis/files/patch-doc
@@ -0,0 +1,50 @@
+--- doc/Makefile Fri Mar 4 16:34:47 2005
++++ doc/Makefile Mon Mar 21 09:07:57 2005
+@@ -1,11 +1,14 @@
+ COMMONOPTS = -f docbook -b html -e no-valid
+
++include ../Makefile.config
++include $(top_srcdir)/src/Makefile.shlib
++
+ # 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
++XSLBASE?=/usr/local/share/xsl/docbook
+
+ all: html
+
+@@ -15,14 +18,13 @@
+ chunked-html: postgis-out.xml
+ xsltproc \
+ --output html/ \
+- --param shade.verbatim 1 \
+ --param chunk.section.depth 0 \
+ --param section.autolabel 1 \
+ --param section.label.includes.component.label 1 \
+ --stringparam html.stylesheet style.css \
+ --stringparam saxon.character.representation decimal \
+ $(XSLBASE)/html/chunk.xsl \
+- $<
++ $< && touch chunked-html
+
+ html/postgis.html: postgis-out.xml
+ xsltproc \
+@@ -66,5 +68,15 @@
+ maintainer-clean: clean
+ @rm -f html/*.html
+
++install: chunked-html
++ $(mkinstalldirs) $(DOCSDIR)
++ $(INSTALL_DATA) html/index.html $(DOCSDIR)/index.html
++ $(INSTALL_DATA) html/ch01.html $(DOCSDIR)/ch01.html
++ $(INSTALL_DATA) html/ch02.html $(DOCSDIR)/ch02.html
++ $(INSTALL_DATA) html/ch03.html $(DOCSDIR)/ch03.html
++ $(INSTALL_DATA) html/ch04.html $(DOCSDIR)/ch04.html
++ $(INSTALL_DATA) html/ch05.html $(DOCSDIR)/ch05.html
++ $(INSTALL_DATA) html/ch06.html $(DOCSDIR)/ch06.html
++ $(INSTALL_DATA) html/ch07.html $(DOCSDIR)/ch07.html
+
+ .PHONY: html