Commit 4f19d0e7 by Bernd Edlinger Committed by Bernd Edlinger

Makefile.am: Avoid the -D option which is not available with the install-sh fallback.

2019-02-19  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * src/Makefile.am: Avoid the -D option which is not available
        with the install-sh fallback.  Use $(MKDIR_P) instead.
        * libdruntime/Makefile.am: Likewise.
        * src/Makefile.in: Regenerated.
        * libdruntime/Makefile.in: Regenerated.

From-SVN: r269025
parent 9d52e1bb
2019-02-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
* src/Makefile.am: Avoid the -D option which is not available
with the install-sh fallback. Use $(MKDIR_P) instead.
* libdruntime/Makefile.am: Likewise.
* src/Makefile.in: Regenerated.
* libdruntime/Makefile.in: Regenerated.
2019-02-19 Iain Buclaw <ibuclaw@gdcproject.org> 2019-02-19 Iain Buclaw <ibuclaw@gdcproject.org>
* testsuite/libphobos.shared/load.d: Import core.sys.posix.dlfcn. * testsuite/libphobos.shared/load.d: Import core.sys.posix.dlfcn.
......
...@@ -147,10 +147,11 @@ clean-local: ...@@ -147,10 +147,11 @@ clean-local:
# Handles generated files as well # Handles generated files as well
install-data-local: install-data-local:
for file in $(ALL_DRUNTIME_INSTALL_DSOURCES); do \ for file in $(ALL_DRUNTIME_INSTALL_DSOURCES); do \
$(MKDIR_P) `dirname $(DESTDIR)$(gdc_include_dir)/$$file` ; \
if test -f $$file; then \ if test -f $$file; then \
$(INSTALL_HEADER) -D $$file $(DESTDIR)$(gdc_include_dir)/$$file ; \ $(INSTALL_HEADER) $$file $(DESTDIR)$(gdc_include_dir)/$$file ; \
else \ else \
$(INSTALL_HEADER) -D $(srcdir)/$$file \ $(INSTALL_HEADER) $(srcdir)/$$file \
$(DESTDIR)$(gdc_include_dir)/$$file ; \ $(DESTDIR)$(gdc_include_dir)/$$file ; \
fi ; \ fi ; \
done done
......
...@@ -2745,10 +2745,11 @@ clean-local: ...@@ -2745,10 +2745,11 @@ clean-local:
# Handles generated files as well # Handles generated files as well
install-data-local: install-data-local:
for file in $(ALL_DRUNTIME_INSTALL_DSOURCES); do \ for file in $(ALL_DRUNTIME_INSTALL_DSOURCES); do \
$(MKDIR_P) `dirname $(DESTDIR)$(gdc_include_dir)/$$file` ; \
if test -f $$file; then \ if test -f $$file; then \
$(INSTALL_HEADER) -D $$file $(DESTDIR)$(gdc_include_dir)/$$file ; \ $(INSTALL_HEADER) $$file $(DESTDIR)$(gdc_include_dir)/$$file ; \
else \ else \
$(INSTALL_HEADER) -D $(srcdir)/$$file \ $(INSTALL_HEADER) $(srcdir)/$$file \
$(DESTDIR)$(gdc_include_dir)/$$file ; \ $(DESTDIR)$(gdc_include_dir)/$$file ; \
fi ; \ fi ; \
done done
......
...@@ -94,10 +94,11 @@ clean-local: ...@@ -94,10 +94,11 @@ clean-local:
# Handles generated files as well # Handles generated files as well
install-data-local: install-data-local:
for file in $(ALL_PHOBOS_INSTALL_DSOURCES); do \ for file in $(ALL_PHOBOS_INSTALL_DSOURCES); do \
$(MKDIR_P) `dirname $(DESTDIR)$(gdc_include_dir)/$$file` ; \
if test -f $$file; then \ if test -f $$file; then \
$(INSTALL_HEADER) -D $$file $(DESTDIR)$(gdc_include_dir)/$$file ; \ $(INSTALL_HEADER) $$file $(DESTDIR)$(gdc_include_dir)/$$file ; \
else \ else \
$(INSTALL_HEADER) -D $(srcdir)/$$file \ $(INSTALL_HEADER) $(srcdir)/$$file \
$(DESTDIR)$(gdc_include_dir)/$$file ; \ $(DESTDIR)$(gdc_include_dir)/$$file ; \
fi ; \ fi ; \
done done
......
...@@ -1650,10 +1650,11 @@ clean-local: ...@@ -1650,10 +1650,11 @@ clean-local:
# Handles generated files as well # Handles generated files as well
install-data-local: install-data-local:
for file in $(ALL_PHOBOS_INSTALL_DSOURCES); do \ for file in $(ALL_PHOBOS_INSTALL_DSOURCES); do \
$(MKDIR_P) `dirname $(DESTDIR)$(gdc_include_dir)/$$file` ; \
if test -f $$file; then \ if test -f $$file; then \
$(INSTALL_HEADER) -D $$file $(DESTDIR)$(gdc_include_dir)/$$file ; \ $(INSTALL_HEADER) $$file $(DESTDIR)$(gdc_include_dir)/$$file ; \
else \ else \
$(INSTALL_HEADER) -D $(srcdir)/$$file \ $(INSTALL_HEADER) $(srcdir)/$$file \
$(DESTDIR)$(gdc_include_dir)/$$file ; \ $(DESTDIR)$(gdc_include_dir)/$$file ; \
fi ; \ fi ; \
done done
......
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