|
8 | 8 | # |
9 | 9 | # |
10 | 10 | # IDENTIFICATION |
11 | | -# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.51 2002/08/05 19:43:30 petere Exp $ |
| 11 | +# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.52 2002/10/12 16:34:28 petere Exp $ |
12 | 12 | # |
13 | 13 | #---------------------------------------------------------------------------- |
14 | 14 |
|
@@ -52,7 +52,7 @@ vpath %.sgml ./ref |
52 | 52 |
|
53 | 53 | ALLBOOKS = admin developer programmer reference tutorial user |
54 | 54 |
|
55 | | -ALLSGML :=$(wildcard$(srcdir)/*.sgml$(srcdir)/ref/*.sgml) bookindex.sgml setindex.sgml |
| 55 | +ALLSGML :=$(wildcard$(srcdir)/*.sgml$(srcdir)/ref/*.sgml) bookindex.sgml setindex.sgml version.sgml |
56 | 56 |
|
57 | 57 | ifdefDOCBOOKSTYLE |
58 | 58 | CATALOG = -c$(DOCBOOKSTYLE)/catalog |
@@ -119,6 +119,12 @@ setindex.sgml: HTML.index |
119 | 119 | $(COLLATEINDEX) -i'setindex' -x -o$@$< |
120 | 120 | endif |
121 | 121 |
|
| 122 | +version.sgml:$(top_builddir)/src/Makefile.global |
| 123 | +{ \ |
| 124 | +echo"<!entity version\"$(VERSION)\">";\ |
| 125 | +echo"<!entity majorversion\"`expr$(VERSION):'\([0-9][0-9]*\.[0-9][0-9]*\)'`\">";\ |
| 126 | +}>$@ |
| 127 | + |
122 | 128 |
|
123 | 129 | ## |
124 | 130 | ## Print |
@@ -190,8 +196,8 @@ INSTALL HISTORY regress_README: % : %.html |
190 | 196 | echo"| and put it in place of the existing '$@' file.";\ |
191 | 197 | echo"|" |
192 | 198 |
|
193 | | -INSTALL.html: standalone-install.sgml installation.sgml |
194 | | -$(JADE.text) -V nochunks$+>$@ |
| 199 | +INSTALL.html: standalone-install.sgml installation.sgml version.sgml |
| 200 | +$(JADE.text) -V nochunksstandalone-install.sgml installation.sgml>$@ |
195 | 201 |
|
196 | 202 | HISTORY.html: release.sgml |
197 | 203 | (echo'<!doctype appendix PUBLIC "-//OASIS//DTD DocBook V3.1//EN">'; \ |
@@ -233,4 +239,4 @@ clean distclean maintainer-clean: |
233 | 239 | # print |
234 | 240 | rm -f *.rtf *.tex-ps *.tex-pdf *.dvi *.aux *.log *.ps *.pdf *.out *.eps *.fot |
235 | 241 | # index |
236 | | -rm -f HTML.index bookindex.sgml setindex.sgml |
| 242 | +rm -f HTML.index bookindex.sgml setindex.sgml version.sgml |