Skip to content

Commit f5ef59c

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

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-
for file in 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)/$$file 2>/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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy