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

Commit882515f

Browse files
committed
fix
1 parent56e6250 commit882515f

File tree

1 file changed

+34
-19
lines changed

1 file changed

+34
-19
lines changed

‎Makefile

Lines changed: 34 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,45 @@ ifndef top_srcdir
2121
@echo "variable: \"make top_srcdir=<path to PostgreSQL source tree>\""
2222
@exit 1
2323
endif
24+
# Those files are symlinked from the PostgreSQL sources.
25+
src/xlogreader.c:% :$(top_srcdir)/src/backend/access/transam/xlogreader.c
26+
rm -f$@&&$(LN_S)$< ./src/xlogreader.c
27+
src/datapagemap.c:% :$(top_srcdir)/src/bin/pg_rewind/datapagemap.c
28+
rm -f$@&&$(LN_S)$< ./src/datapagemap.c
29+
src/datapagemap.h:% :$(top_srcdir)/src/bin/pg_rewind/datapagemap.h
30+
rm -f$@&&$(LN_S)$< src/datapagemap.h
31+
src/logging.h:% :$(top_srcdir)/src/bin/pg_rewind/logging.h
32+
rm -f$@&&$(LN_S)$< ./src
33+
src/receivelog.c:% :$(top_srcdir)/src/bin/pg_basebackup/receivelog.c
34+
rm -f$@&&$(LN_S)$< ./src
35+
src/receivelog.h:% :$(top_srcdir)/src/bin/pg_basebackup/receivelog.h
36+
rm -f$@&&$(LN_S)$< ./src
37+
src/streamutil.c:% :$(top_srcdir)/src/bin/pg_basebackup/streamutil.c
38+
rm -f$@&&$(LN_S)$< ./src
39+
src/streamutil.h:% :$(top_srcdir)/src/bin/pg_basebackup/streamutil.h
40+
rm -f$@&&$(LN_S)$< ./src
2441
else
2542
subdir=contrib/pg_probackup
2643
top_builddir=../..
2744
include$(top_builddir)/src/Makefile.global
2845
include$(top_srcdir)/contrib/contrib-global.mk
46+
# Those files are symlinked from the PostgreSQL sources.
47+
src/xlogreader.c:% :$(top_srcdir)/src/backend/access/transam/xlogreader.c
48+
rm -f$@&&$(LN_S) ../$< ./src/xlogreader.c
49+
src/datapagemap.c:% :$(top_srcdir)/src/bin/pg_rewind/datapagemap.c
50+
rm -f$@&&$(LN_S) ../$< ./src/datapagemap.c
51+
src/datapagemap.h:% :$(top_srcdir)/src/bin/pg_rewind/datapagemap.h
52+
rm -f$@&&$(LN_S) ../$< src/datapagemap.h
53+
src/logging.h:% :$(top_srcdir)/src/bin/pg_rewind/logging.h
54+
rm -f$@&&$(LN_S) ../$< ./src
55+
src/receivelog.c:% :$(top_srcdir)/src/bin/pg_basebackup/receivelog.c
56+
rm -f$@&&$(LN_S) ../$< ./src
57+
src/receivelog.h:% :$(top_srcdir)/src/bin/pg_basebackup/receivelog.h
58+
rm -f$@&&$(LN_S) ../$< ./src
59+
src/streamutil.c:% :$(top_srcdir)/src/bin/pg_basebackup/streamutil.c
60+
rm -f$@&&$(LN_S) ../$< ./src
61+
src/streamutil.h:% :$(top_srcdir)/src/bin/pg_basebackup/streamutil.h
62+
rm -f$@&&$(LN_S) ../$< ./src
2963
endif
3064

3165
PG_CPPFLAGS = -I$(libpq_srcdir) ${PTHREAD_CFLAGS}
@@ -50,22 +84,3 @@ ifndef top_srcdir
5084
@echo "variable: \"make top_srcdir=<path to PostgreSQL source tree>\""
5185
@exit 1
5286
endif
53-
54-
55-
# Those files are symlinked from the PostgreSQL sources.
56-
src/xlogreader.c:% :$(top_srcdir)/src/backend/access/transam/xlogreader.c
57-
rm -f$@&&$(LN_S) ../$< ./src/xlogreader.c
58-
src/datapagemap.c:% :$(top_srcdir)/src/bin/pg_rewind/datapagemap.c
59-
rm -f$@&&$(LN_S) ../$< ./src/datapagemap.c
60-
src/datapagemap.h:% :$(top_srcdir)/src/bin/pg_rewind/datapagemap.h
61-
rm -f$@&&$(LN_S) ../$< src/datapagemap.h
62-
src/logging.h:% :$(top_srcdir)/src/bin/pg_rewind/logging.h
63-
rm -f$@&&$(LN_S) ../$< ./src
64-
src/receivelog.c:% :$(top_srcdir)/src/bin/pg_basebackup/receivelog.c
65-
rm -f$@&&$(LN_S) ../$< ./src
66-
src/receivelog.h:% :$(top_srcdir)/src/bin/pg_basebackup/receivelog.h
67-
rm -f$@&&$(LN_S) ../$< ./src
68-
src/streamutil.c:% :$(top_srcdir)/src/bin/pg_basebackup/streamutil.c
69-
rm -f$@&&$(LN_S) ../$< ./src
70-
src/streamutil.h:% :$(top_srcdir)/src/bin/pg_basebackup/streamutil.h
71-
rm -f$@&&$(LN_S) ../$< ./src

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp