Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit42d2470

Browse files
committed
Make version.sgml depend on configure instead of Makefile.global. This
cheats a bit, but it avoids unsatisfied dependencies in distributiontarballs. (found by make distcheck)
1 parent67a5f8f commit42d2470

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

‎doc/src/sgml/Makefile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# PostgreSQL documentation makefile
44
#
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 $
66
#
77
#----------------------------------------------------------------------------
88

@@ -118,7 +118,12 @@ $(srcdir)/HTML.index: postgres.sgml $(ALMOSTALLSGML) stylesheet.dsl
118118
$(srcdir)/bookindex.sgml: HTML.index
119119
LC_ALL=C$(PERL)$(COLLATEINDEX) -f -g -i'bookindex' -o$@$<
120120

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
122127
{ \
123128
echo"<!entity version\"$(VERSION)\">";\
124129
echo"<!entity majorversion\"$(MAJORVERSION)\">";\

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp