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

Commitb19a7e3

Browse files
committed
Correct Makefile dependencies for catalog scripts
At some point, Gen_fmgrtab.pl stopped needing the value of defined symbolsfrom access/transam.h, while genbki.pl starting doing so. The Makefilesdidn't get the memo, so update the relevant dependencies.
1 parent1d084fb commitb19a7e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/backend/catalog/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ generated-header-symlinks: $(top_builddir)/src/include/catalog/header-stamp
102102
# configure run, even in distribution tarballs. So depending on configure.ac
103103
# instead is cheating a bit, but it will achieve the goal of updating the
104104
# version number when it changes.
105-
bki-stamp: genbki.pl Catalog.pm$(POSTGRES_BKI_SRCS)$(POSTGRES_BKI_DATA)$(top_srcdir)/configure.ac
105+
bki-stamp: genbki.pl Catalog.pm$(POSTGRES_BKI_SRCS)$(POSTGRES_BKI_DATA)$(top_srcdir)/configure.ac$(top_srcdir)/src/include/access/transam.h
106106
$(PERL)$< --include-path=$(top_srcdir)/src/include/\
107107
--set-version=$(MAJORVERSION)$(POSTGRES_BKI_SRCS)
108108
touch$@

‎src/backend/utils/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ $(SUBDIRS:%=%-recursive): fmgr-stamp errcodes.h
4747
# fmgr-stamp records the last time we ran Gen_fmgrtab.pl. We don't rely on
4848
# the timestamps of the individual output files, because the Perl script
4949
# won't update them if they didn't change (to avoid unnecessary recompiles).
50-
fmgr-stamp: Gen_fmgrtab.pl$(catalogdir)/Catalog.pm$(top_srcdir)/src/include/catalog/pg_proc.dat$(top_srcdir)/src/include/access/transam.h
50+
fmgr-stamp: Gen_fmgrtab.pl$(catalogdir)/Catalog.pm$(top_srcdir)/src/include/catalog/pg_proc.dat
5151
$(PERL) -I$(catalogdir)$< --include-path=$(top_srcdir)/src/include/$(top_srcdir)/src/include/catalog/pg_proc.dat
5252
touch$@
5353

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp