Commit c15c1f1c authored by Bruce Momjian's avatar Bruce Momjian

Fix parallel gmake for extension directory addition in PL languages.

parent a956b160
...@@ -74,14 +74,14 @@ Util.c: Util.xs ...@@ -74,14 +74,14 @@ Util.c: Util.xs
$(PERL) $(perl_privlibexp)/ExtUtils/xsubpp -typemap $(perl_privlibexp)/ExtUtils/typemap $< >$@ $(PERL) $(perl_privlibexp)/ExtUtils/xsubpp -typemap $(perl_privlibexp)/ExtUtils/typemap $< >$@
install: all installdirs install-lib install-data install: all install-lib install-data
installdirs: installdirs-lib installdirs: installdirs-lib
$(MKDIR_P) '$(DESTDIR)$(datadir)/extension' $(MKDIR_P) '$(DESTDIR)$(datadir)/extension'
uninstall: uninstall-lib uninstall-data uninstall: uninstall-lib uninstall-data
install-data: install-data: installdirs
@for file in $(addprefix $(srcdir)/, $(DATA)); do \ @for file in $(addprefix $(srcdir)/, $(DATA)); do \
echo "$(INSTALL_DATA) $$file '$(DESTDIR)$(datadir)/extension'"; \ echo "$(INSTALL_DATA) $$file '$(DESTDIR)$(datadir)/extension'"; \
$(INSTALL_DATA) $$file '$(DESTDIR)$(datadir)/extension'; \ $(INSTALL_DATA) $$file '$(DESTDIR)$(datadir)/extension'; \
......
...@@ -27,14 +27,14 @@ all: all-lib ...@@ -27,14 +27,14 @@ all: all-lib
include $(top_srcdir)/src/Makefile.shlib include $(top_srcdir)/src/Makefile.shlib
install: all installdirs install-lib install-data install: all install-lib install-data
installdirs: installdirs-lib installdirs: installdirs-lib
$(MKDIR_P) '$(DESTDIR)$(datadir)/extension' $(MKDIR_P) '$(DESTDIR)$(datadir)/extension'
uninstall: uninstall-lib uninstall-data uninstall: uninstall-lib uninstall-data
install-data: install-data: installdirs
@for file in $(addprefix $(srcdir)/, $(DATA)); do \ @for file in $(addprefix $(srcdir)/, $(DATA)); do \
echo "$(INSTALL_DATA) $$file '$(DESTDIR)$(datadir)/extension'"; \ echo "$(INSTALL_DATA) $$file '$(DESTDIR)$(datadir)/extension'"; \
$(INSTALL_DATA) $$file '$(DESTDIR)$(datadir)/extension'; \ $(INSTALL_DATA) $$file '$(DESTDIR)$(datadir)/extension'; \
......
...@@ -106,14 +106,14 @@ all: all-lib ...@@ -106,14 +106,14 @@ all: all-lib
distprep: spiexceptions.h distprep: spiexceptions.h
install: all installdirs install-lib install-data install: all install-lib install-data
installdirs: installdirs-lib installdirs: installdirs-lib
$(MKDIR_P) '$(DESTDIR)$(datadir)/extension' $(MKDIR_P) '$(DESTDIR)$(datadir)/extension'
uninstall: uninstall-lib uninstall-data uninstall: uninstall-lib uninstall-data
install-data: install-data: installdirs
@for file in $(addprefix $(srcdir)/, $(DATA)); do \ @for file in $(addprefix $(srcdir)/, $(DATA)); do \
echo "$(INSTALL_DATA) $$file '$(DESTDIR)$(datadir)/extension'"; \ echo "$(INSTALL_DATA) $$file '$(DESTDIR)$(datadir)/extension'"; \
$(INSTALL_DATA) $$file '$(DESTDIR)$(datadir)/extension'; \ $(INSTALL_DATA) $$file '$(DESTDIR)$(datadir)/extension'; \
......
...@@ -54,7 +54,7 @@ all: all-lib ...@@ -54,7 +54,7 @@ all: all-lib
$(MAKE) -C modules $@ $(MAKE) -C modules $@
install: all installdirs install-lib install-data install: all install-lib install-data
$(MAKE) -C modules $@ $(MAKE) -C modules $@
installdirs: installdirs-lib installdirs: installdirs-lib
...@@ -64,7 +64,7 @@ installdirs: installdirs-lib ...@@ -64,7 +64,7 @@ installdirs: installdirs-lib
uninstall: uninstall-lib uninstall-data uninstall: uninstall-lib uninstall-data
$(MAKE) -C modules $@ $(MAKE) -C modules $@
install-data: install-data: installdirs
@for file in $(addprefix $(srcdir)/, $(DATA)); do \ @for file in $(addprefix $(srcdir)/, $(DATA)); do \
echo "$(INSTALL_DATA) $$file '$(DESTDIR)$(datadir)/extension'"; \ echo "$(INSTALL_DATA) $$file '$(DESTDIR)$(datadir)/extension'"; \
$(INSTALL_DATA) $$file '$(DESTDIR)$(datadir)/extension'; \ $(INSTALL_DATA) $$file '$(DESTDIR)$(datadir)/extension'; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment