mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
Revert haphazard pgxs makefile changes
These changes were originally submitted as "adds support for VPATH with USE_PGXS", but they are not necessary for VPATH support, so they just add more lines of code for no reason.
This commit is contained in:
parent
eb1c3f4786
commit
e4b5a070b4
@ -124,40 +124,33 @@ all: all-lib
|
|||||||
endif # MODULE_big
|
endif # MODULE_big
|
||||||
|
|
||||||
|
|
||||||
install: all installdirs installcontrol installdata installdatatsearch installdocs installscripts
|
install: all installdirs
|
||||||
|
ifneq (,$(EXTENSION))
|
||||||
|
$(INSTALL_DATA) $(addprefix $(srcdir)/, $(addsuffix .control, $(EXTENSION))) '$(DESTDIR)$(datadir)/extension/'
|
||||||
|
endif # EXTENSION
|
||||||
|
ifneq (,$(DATA)$(DATA_built))
|
||||||
|
$(INSTALL_DATA) $(addprefix $(srcdir)/, $(DATA)) $(DATA_built) '$(DESTDIR)$(datadir)/$(datamoduledir)/'
|
||||||
|
endif # DATA
|
||||||
|
ifneq (,$(DATA_TSEARCH))
|
||||||
|
$(INSTALL_DATA) $(addprefix $(srcdir)/, $(DATA_TSEARCH)) '$(DESTDIR)$(datadir)/tsearch_data/'
|
||||||
|
endif # DATA_TSEARCH
|
||||||
ifdef MODULES
|
ifdef MODULES
|
||||||
$(INSTALL_SHLIB) $(addsuffix $(DLSUFFIX), $(MODULES)) '$(DESTDIR)$(pkglibdir)/'
|
$(INSTALL_SHLIB) $(addsuffix $(DLSUFFIX), $(MODULES)) '$(DESTDIR)$(pkglibdir)/'
|
||||||
endif # MODULES
|
endif # MODULES
|
||||||
|
ifdef DOCS
|
||||||
|
ifdef docdir
|
||||||
|
$(INSTALL_DATA) $(addprefix $(srcdir)/, $(DOCS)) '$(DESTDIR)$(docdir)/$(docmoduledir)/'
|
||||||
|
endif # docdir
|
||||||
|
endif # DOCS
|
||||||
ifdef PROGRAM
|
ifdef PROGRAM
|
||||||
$(INSTALL_PROGRAM) $(PROGRAM)$(X) '$(DESTDIR)$(bindir)'
|
$(INSTALL_PROGRAM) $(PROGRAM)$(X) '$(DESTDIR)$(bindir)'
|
||||||
endif # PROGRAM
|
endif # PROGRAM
|
||||||
|
|
||||||
installcontrol: $(addsuffix .control, $(EXTENSION)) | installdirs
|
|
||||||
ifneq (,$(EXTENSION))
|
|
||||||
$(INSTALL_DATA) $^ '$(DESTDIR)$(datadir)/extension/'
|
|
||||||
endif
|
|
||||||
|
|
||||||
installdata: $(DATA) $(DATA_built) | installdirs
|
|
||||||
ifneq (,$(DATA)$(DATA_built))
|
|
||||||
$(INSTALL_DATA) $^ '$(DESTDIR)$(datadir)/$(datamoduledir)/'
|
|
||||||
endif
|
|
||||||
|
|
||||||
installdatatsearch: $(DATA_TSEARCH) | installdirs
|
|
||||||
ifneq (,$(DATA_TSEARCH))
|
|
||||||
$(INSTALL_DATA) $^ '$(DESTDIR)$(datadir)/tsearch_data/'
|
|
||||||
endif
|
|
||||||
|
|
||||||
installdocs: $(DOCS) | installdirs
|
|
||||||
ifdef DOCS
|
|
||||||
ifdef docdir
|
|
||||||
$(INSTALL_DATA) $^ '$(DESTDIR)$(docdir)/$(docmoduledir)/'
|
|
||||||
endif # docdir
|
|
||||||
endif # DOCS
|
|
||||||
|
|
||||||
installscripts: $(SCRIPTS) $(SCRIPTS_built) | installdirs
|
|
||||||
ifdef SCRIPTS
|
ifdef SCRIPTS
|
||||||
$(INSTALL_SCRIPT) $^ '$(DESTDIR)$(bindir)/'
|
$(INSTALL_SCRIPT) $(addprefix $(srcdir)/, $(SCRIPTS)) '$(DESTDIR)$(bindir)/'
|
||||||
endif # SCRIPTS
|
endif # SCRIPTS
|
||||||
|
ifdef SCRIPTS_built
|
||||||
|
$(INSTALL_SCRIPT) $(SCRIPTS_built) '$(DESTDIR)$(bindir)/'
|
||||||
|
endif # SCRIPTS_built
|
||||||
|
|
||||||
ifdef MODULE_big
|
ifdef MODULE_big
|
||||||
install: install-lib
|
install: install-lib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user