blob: 9052c9938605aaaa360f5832338ee28a8852873e (
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
|
--- doc/Makefile Thu Jan 13 07:42:40 2005
+++ doc/Makefile Mon Jan 31 16:48:51 2005
@@ -1,20 +1,22 @@
COMMONOPTS = -f docbook -b html -e no-valid
LAST_RELEASE_VERSION = 1.0.0RC1
+include ../Makefile.config
+include $(top_srcdir)/src/Makefile.shlib
postgis-out.xml: postgis.xml
cat $< | sed "s/@@LAST_RELEASE_VERSION@@/$(LAST_RELEASE_VERSION)/g" > $@
chunked-html: postgis-out.xml
xsltproc \
- --param shade.verbatim 1 \
+ --output html/ \
--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 \
- /usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl \
- $<
+ /usr/local/share/xsl/docbook/html/chunk.xsl \
+ $< && touch chunked-html
html: postgis-out.xml
xsltproc \
@@ -53,3 +55,12 @@
postgis.out \
postgis.log
+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
|