Lines 1-17
Link Here
|
1 |
--- doc/Makefile Thu Sep 9 17:51:32 2004 |
1 |
--- doc/Makefile Thu Jan 13 07:42:40 2005 |
2 |
+++ doc/Makefile.new Wed Dec 29 09:49:05 2004 |
2 |
+++ doc/Makefile Mon Jan 31 16:48:51 2005 |
3 |
@@ -5,14 +5,16 @@ |
3 |
@@ -1,20 +1,22 @@ |
|
|
4 |
COMMONOPTS = -f docbook -b html -e no-valid |
5 |
LAST_RELEASE_VERSION = 1.0.0RC1 |
6 |
|
7 |
+include ../Makefile.config |
8 |
+include $(top_srcdir)/src/Makefile.shlib |
9 |
|
4 |
postgis-out.xml: postgis.xml |
10 |
postgis-out.xml: postgis.xml |
5 |
cat $< | sed "s/@@LAST_RELEASE_VERSION@@/$(LAST_RELEASE_VERSION)/g" > $@ |
11 |
cat $< | sed "s/@@LAST_RELEASE_VERSION@@/$(LAST_RELEASE_VERSION)/g" > $@ |
6 |
|
12 |
|
7 |
+# html/ch01.html html/ch02.html html/ch03.html html/ch04.html html/ch05.html html/index.html |
|
|
8 |
+ |
9 |
chunked-html: postgis-out.xml |
13 |
chunked-html: postgis-out.xml |
10 |
- xsltproc \ |
14 |
xsltproc \ |
11 |
- --param shade.verbatim 1 \ |
15 |
- --param shade.verbatim 1 \ |
12 |
+ xsltproc --param shade.verbatim 1 \ |
|
|
13 |
--param chunk.section.depth 0 \ |
14 |
+ --output html/ \ |
16 |
+ --output html/ \ |
|
|
17 |
--param chunk.section.depth 0 \ |
18 |
--param section.autolabel 1 \ |
19 |
--param section.label.includes.component.label 1 \ |
15 |
--stringparam html.stylesheet style.css \ |
20 |
--stringparam html.stylesheet style.css \ |
16 |
--stringparam saxon.character.representation decimal \ |
21 |
--stringparam saxon.character.representation decimal \ |
17 |
- /usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl \ |
22 |
- /usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl \ |
Lines 21-45
Link Here
|
21 |
|
26 |
|
22 |
html: postgis-out.xml |
27 |
html: postgis-out.xml |
23 |
xsltproc \ |
28 |
xsltproc \ |
24 |
@@ -20,11 +22,20 @@ |
29 |
@@ -53,3 +55,12 @@ |
25 |
--param shade.verbatim 1 \ |
30 |
postgis.out \ |
26 |
--param chunk.section.depth 0 \ |
31 |
postgis.log |
27 |
--stringparam html.stylesheet style.css \ |
|
|
28 |
- /usr/share/sgml/docbook/xsl-stylesheets/html/docbook.xsl \ |
29 |
+ /usr/local/share/xsl/docbook/html/docbook.xsl \ |
30 |
$< |
31 |
|
32 |
jw: postgis-out.xml |
33 |
jw $(COMMONOPTS) -o html/ postgis-out.xml |
34 |
|
32 |
|
35 |
clean: |
|
|
36 |
+ rm -f postgis-out.xml chunked-html html/*.html |
37 |
+ |
38 |
+install: chunked-html |
33 |
+install: chunked-html |
|
|
34 |
+ $(mkinstalldirs) $(DOCSDIR) |
35 |
+ $(INSTALL_DATA) html/index.html $(DOCSDIR)/index.html |
39 |
+ $(INSTALL_DATA) html/ch01.html $(DOCSDIR)/ch01.html |
36 |
+ $(INSTALL_DATA) html/ch01.html $(DOCSDIR)/ch01.html |
40 |
+ $(INSTALL_DATA) html/ch02.html $(DOCSDIR)/ch02.html |
37 |
+ $(INSTALL_DATA) html/ch02.html $(DOCSDIR)/ch02.html |
41 |
+ $(INSTALL_DATA) html/ch03.html $(DOCSDIR)/ch03.html |
38 |
+ $(INSTALL_DATA) html/ch03.html $(DOCSDIR)/ch03.html |
42 |
+ $(INSTALL_DATA) html/ch04.html $(DOCSDIR)/ch04.html |
39 |
+ $(INSTALL_DATA) html/ch04.html $(DOCSDIR)/ch04.html |
43 |
+ $(INSTALL_DATA) html/ch05.html $(DOCSDIR)/ch05.html |
40 |
+ $(INSTALL_DATA) html/ch05.html $(DOCSDIR)/ch05.html |
44 |
+ $(INSTALL_DATA) html/index.html $(DOCSDIR)/index.html |
41 |
+ $(INSTALL_DATA) html/ch06.html $(DOCSDIR)/ch06.html |
45 |
|
|
|