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

Commitf5ef59c

Browse files
author
Neil Conway
committed
Delete the `remove-old-headers' target, as it is no longer useful. Patch
from Alvaro Herrera.
1 parent1b3e769 commitf5ef59c

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

‎src/include/Makefile

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# 'make install' installs whole contents of src/include.
66
#
7-
# $PostgreSQL: pgsql/src/include/Makefile,v 1.16 2004/11/03 07:38:08 neilc Exp $
7+
# $PostgreSQL: pgsql/src/include/Makefile,v 1.17 2004/11/09 06:23:50 neilc Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -21,7 +21,7 @@ SUBDIRS = access bootstrap catalog commands executor lib libpq mb \
2121
nodes optimizer parser port regex rewrite storage tcop utils
2222

2323
# Install all headers
24-
install: all installdirs remove-old-headers
24+
install: all installdirs
2525
# These headers are needed by the public headers of the interfaces.
2626
$(INSTALL_DATA) $(srcdir)/postgres_ext.h $(DESTDIR)$(includedir)
2727
$(INSTALL_DATA) $(srcdir)/libpq/libpq-fs.h $(DESTDIR)$(includedir)/libpq
@@ -50,24 +50,6 @@ installdirs:
5050
$(mkinstalldirs)$(addprefix$(DESTDIR)$(includedir_server)/,$(SUBDIRS))
5151

5252

53-
# Pre-7.1 Postgres installed some headers that are no longer installed by
54-
# default. If we see these headers in the target directory, zap them to
55-
# avoid cross-version compile problems. However, don't zap them if they
56-
# match current sources (that means the user did install-all-headers).
57-
58-
remove-old-headers:
59-
forfilein fmgr.h postgres.h access/attnum.h commands/trigger.h \
60-
executor/spi.h utils/elog.h utils/geo_decls.h utils/mcxt.h\
61-
utils/palloc.h;do\
62-
if cmp -s$(srcdir)/$$file$(DESTDIR)$(includedir)/$$file2>/dev/null; \
63-
then\
64-
:;\
65-
else\
66-
rm -f$(DESTDIR)$(includedir)/$$file;\
67-
fi;\
68-
done
69-
70-
7153
uninstall:
7254
rm -f$(addprefix$(DESTDIR)$(includedir)/, pg_config.h pg_config_os.h postgres_ext.h libpq/libpq-fs.h)
7355
rm -f$(addprefix$(DESTDIR)$(includedir_internal)/, c.h postgres_fe.h libpq/pqcomm.h)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp