Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
f5ef59cf
Commit
f5ef59cf
authored
20 years ago
by
Neil Conway
Browse files
Options
Downloads
Patches
Plain Diff
Delete the `remove-old-headers' target, as it is no longer useful. Patch
from Alvaro Herrera.
parent
1b3e7696
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/include/Makefile
+2
-20
2 additions, 20 deletions
src/include/Makefile
with
2 additions
and
20 deletions
src/include/Makefile
+
2
−
20
View file @
f5ef59cf
...
...
@@ -4,7 +4,7 @@
#
# 'make install' installs whole contents of src/include.
#
# $PostgreSQL: pgsql/src/include/Makefile,v 1.1
6
2004/11/0
3
0
7:38:08
neilc Exp $
# $PostgreSQL: pgsql/src/include/Makefile,v 1.1
7
2004/11/0
9
0
6:23:50
neilc Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -21,7 +21,7 @@ SUBDIRS = access bootstrap catalog commands executor lib libpq mb \
nodes optimizer parser port regex rewrite storage tcop utils
# Install all headers
install
:
all installdirs
remove-old-headers
install
:
all installdirs
# These headers are needed by the public headers of the interfaces.
$(INSTALL_DATA)
$(srcdir)/postgres_ext.h
$(DESTDIR)$(includedir)
$(INSTALL_DATA)
$(srcdir)/libpq/libpq-fs.h
$(DESTDIR)$(includedir)/libpq
...
...
@@ -50,24 +50,6 @@ installdirs:
$(
mkinstalldirs
)
$(
addprefix
$(
DESTDIR
)$(
includedir_server
)
/,
$(
SUBDIRS
))
# Pre-7.1 Postgres installed some headers that are no longer installed by
# default. If we see these headers in the target directory, zap them to
# avoid cross-version compile problems. However, don't zap them if they
# match current sources (that means the user did install-all-headers).
remove-old-headers
:
for
file
in
fmgr.h postgres.h access/attnum.h commands/trigger.h
\
executor/spi.h utils/elog.h utils/geo_decls.h utils/mcxt.h
\
utils/palloc.h
;
do
\
if
cmp
-s
$(
srcdir
)
/
$$
file
$(
DESTDIR
)$(
includedir
)
/
$$
file 2>/dev/null
;
\
then
\
:
;
\
else
\
rm
-f
$(
DESTDIR
)$(
includedir
)
/
$$
file
;
\
fi
;
\
done
uninstall
:
rm
-f
$(
addprefix
$(
DESTDIR
)$(
includedir
)
/, pg_config.h pg_config_os.h postgres_ext.h libpq/libpq-fs.h
)
rm
-f
$(
addprefix
$(
DESTDIR
)$(
includedir_internal
)
/, c.h postgres_fe.h libpq/pqcomm.h
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment