mirror of
https://github.com/postgres/postgres.git
synced 2025-11-18 02:02:55 +03:00
Install src/include/utils/fmgroids.h on VPATH builds too.
The original coding was not dealing specially with this file being a symlink, with the end result that it was not installed in VPATH builds. Oddly enough, the clean target does know about it ...
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
# 'make install' installs whole contents of src/include.
|
# 'make install' installs whole contents of src/include.
|
||||||
#
|
#
|
||||||
# $PostgreSQL: pgsql/src/include/Makefile,v 1.21 2005/12/09 21:19:35 petere Exp $
|
# $PostgreSQL: pgsql/src/include/Makefile,v 1.21.2.1 2009/07/20 20:39:22 alvherre Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -37,6 +37,7 @@ install: all installdirs
|
|||||||
# These headers are needed for server-side development
|
# These headers are needed for server-side development
|
||||||
$(INSTALL_DATA) pg_config.h '$(DESTDIR)$(includedir_server)'
|
$(INSTALL_DATA) pg_config.h '$(DESTDIR)$(includedir_server)'
|
||||||
$(INSTALL_DATA) pg_config_os.h '$(DESTDIR)$(includedir_server)'
|
$(INSTALL_DATA) pg_config_os.h '$(DESTDIR)$(includedir_server)'
|
||||||
|
$(INSTALL_DATA) utils/fmgroids.h '$(DESTDIR)$(includedir_server)/utils'
|
||||||
# We don't use INSTALL_DATA for performance reasons --- there are a lot of files
|
# We don't use INSTALL_DATA for performance reasons --- there are a lot of files
|
||||||
cp $(srcdir)/*.h '$(DESTDIR)$(includedir_server)'/ || exit; \
|
cp $(srcdir)/*.h '$(DESTDIR)$(includedir_server)'/ || exit; \
|
||||||
chmod $(INSTALL_DATA_MODE) '$(DESTDIR)$(includedir_server)'/*.h || exit; \
|
chmod $(INSTALL_DATA_MODE) '$(DESTDIR)$(includedir_server)'/*.h || exit; \
|
||||||
|
|||||||
Reference in New Issue
Block a user