From: Peter Eisentraut Date: Mon, 17 Aug 2009 21:29:30 +0000 (+0000) Subject: Make version.sgml depend on configure instead of Makefile.global. This X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=3f4588d111ff48f09f3e131eecf2d994e7ac199a;p=users%2Fsimon%2Fpostgres.git Make version.sgml depend on configure instead of Makefile.global. This cheats a bit, but it avoids unsatisfied dependencies in distribution tarballs. (found by make distcheck) --- diff --git a/doc/src/sgml/Makefile b/doc/src/sgml/Makefile index 0fa6f7a592..8521115c2d 100644 --- a/doc/src/sgml/Makefile +++ b/doc/src/sgml/Makefile @@ -118,7 +118,12 @@ $(srcdir)/HTML.index: postgres.sgml $(ALMOSTALLSGML) stylesheet.dsl $(srcdir)/bookindex.sgml: HTML.index LC_ALL=C $(PERL) $(COLLATEINDEX) -f -g -i 'bookindex' -o $@ $< -$(srcdir)/version.sgml: $(top_builddir)/src/Makefile.global +# Technically, this should depend on Makefile.global, but then +# version.sgml would need to be rebuilt after every configure run, +# even in distribution tarballs. So this is cheating a bit, but it +# will achieve the goal of updating the version number when it +# changes. +$(srcdir)/version.sgml: $(top_srcdir)/configure { \ echo ""; \ echo ""; \