#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.51 2002/08/05 19:43:30 petere Exp $
+# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.52 2002/10/12 16:34:28 petere Exp $
#
#----------------------------------------------------------------------------
ALLBOOKS = admin developer programmer reference tutorial user
-ALLSGML := $(wildcard $(srcdir)/*.sgml $(srcdir)/ref/*.sgml) bookindex.sgml setindex.sgml
+ALLSGML := $(wildcard $(srcdir)/*.sgml $(srcdir)/ref/*.sgml) bookindex.sgml setindex.sgml version.sgml
ifdef DOCBOOKSTYLE
CATALOG = -c $(DOCBOOKSTYLE)/catalog
$(COLLATEINDEX) -i 'setindex' -x -o $@ $<
endif
+version.sgml: $(top_builddir)/src/Makefile.global
+ { \
+ echo "<!entity version \"$(VERSION)\">"; \
+ echo "<!entity majorversion \"`expr $(VERSION) : '\([0-9][0-9]*\.[0-9][0-9]*\)'`\">"; \
+ } >$@
+
##
## Print
echo "| and put it in place of the existing '$@' file.";\
echo "|"
-INSTALL.html: standalone-install.sgml installation.sgml
- $(JADE.text) -V nochunks $+ >$@
+INSTALL.html: standalone-install.sgml installation.sgml version.sgml
+ $(JADE.text) -V nochunks standalone-install.sgml installation.sgml >$@
HISTORY.html: release.sgml
( echo '<!doctype appendix PUBLIC "-//OASIS//DTD DocBook V3.1//EN">'; \
# print
rm -f *.rtf *.tex-ps *.tex-pdf *.dvi *.aux *.log *.ps *.pdf *.out *.eps *.fot
# index
- rm -f HTML.index bookindex.sgml setindex.sgml
+ rm -f HTML.index bookindex.sgml setindex.sgml version.sgml
+++ /dev/null
-<!--
-Update this file to propagate correct current version numbers to the
-documentation. In text, use for example &version; to refer to them.
--->
-
-<!entity version "7.3">
-<!entity majorversion "7.3">
* Version numbers
configure.in and configure
- update version and perhaps majorversion in doc/src/sgml/version.sgml
bump interface version numbers
o src/interfaces/libpq/libpq.rc
o src/include/pg_config.h.win32