blob: dc97f38b2b7dc93acc33fde596eadc4b240e8e5b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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
|