|
2 | 2 | #
|
3 | 3 | # PostgreSQL documentation makefile
|
4 | 4 | #
|
5 |
| -# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.126 2009/08/15 01:56:35 tgl Exp $ |
| 5 | +# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.127 2009/08/17 21:29:30 petere Exp $ |
6 | 6 | #
|
7 | 7 | #----------------------------------------------------------------------------
|
8 | 8 |
|
@@ -118,7 +118,12 @@ $(srcdir)/HTML.index: postgres.sgml $(ALMOSTALLSGML) stylesheet.dsl
|
118 | 118 | $(srcdir)/bookindex.sgml: HTML.index
|
119 | 119 | LC_ALL=C$(PERL)$(COLLATEINDEX) -f -g -i'bookindex' -o$@$<
|
120 | 120 |
|
121 |
| -$(srcdir)/version.sgml:$(top_builddir)/src/Makefile.global |
| 121 | +# Technically, this should depend on Makefile.global, but then |
| 122 | +# version.sgml would need to be rebuilt after every configure run, |
| 123 | +# even in distribution tarballs. So this is cheating a bit, but it |
| 124 | +# will achieve the goal of updating the version number when it |
| 125 | +# changes. |
| 126 | +$(srcdir)/version.sgml:$(top_srcdir)/configure |
122 | 127 | { \
|
123 | 128 | echo"<!entity version\"$(VERSION)\">";\
|
124 | 129 | echo"<!entity majorversion\"$(MAJORVERSION)\">";\
|
|