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

Commit170456c

Browse files
committed
Install hack workaround for failure of 'make all' in VPATH builds.
It appears that gmake gets confused if postgres.sgml is not present inthe working directory, and instantiates some default rule or other thatwould let postgres.sgml be built from postgres.xml. I haven't been ableto track down exactly where that's coming from, but the problem can bedodged by specifying srcdir explicitly in the rule for postgres.xml.Per report from Vladimir Kokovic.
1 parentf856fad commit170456c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎doc/src/sgml/Makefile

Lines changed: 5 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.141 2010/05/0118:15:07 tgl Exp $
5+
# $PostgreSQL: pgsql/doc/src/sgml/Makefile,v 1.142 2010/05/0121:31:17 tgl Exp $
66
#
77
#----------------------------------------------------------------------------
88

@@ -222,7 +222,10 @@ regress_README.html: regress.sgml
222222
## XSLT processing
223223
##
224224

225-
postgres.xml: postgres.sgml$(ALMOSTALLSGML)
225+
# For obscure reasons, gmake 3.81 complains about circular dependencies
226+
# if we try to do "make all" in a VPATH build without the explicit
227+
# $(srcdir) on the postgres.sgml dependency in this rule. gmake bug?
228+
postgres.xml:$(srcdir)/postgres.sgml$(ALMOSTALLSGML)
226229
$(OSX) -D. -x lower$<>postgres.xmltmp
227230
$(PERL) -p -e's/\[(amp|copy|egrave|gt|lt|mdash|nbsp|ouml|pi|quot|uuml) *\]/\&\1;/g;'\
228231
-e'$$_ .= qq{<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">\n} if $$. == 1;'\

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp