diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2019-02-19 18:21:26 +0000 |
---|---|---|
committer | Bernd Edlinger <edlinger@gcc.gnu.org> | 2019-02-19 18:21:26 +0000 |
commit | 4f19d0e7af1e6aa4435b954e1b23531c96e0e71e (patch) | |
tree | fb3a8bb65af600d070beed32cb4d0a20a68e03b5 /libphobos/src | |
parent | 9d52e1bbd8382e3eca924ebefdcedda62bd0eeb5 (diff) | |
download | gcc-4f19d0e7af1e6aa4435b954e1b23531c96e0e71e.zip gcc-4f19d0e7af1e6aa4435b954e1b23531c96e0e71e.tar.gz gcc-4f19d0e7af1e6aa4435b954e1b23531c96e0e71e.tar.bz2 |
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
Diffstat (limited to 'libphobos/src')
-rw-r--r-- | libphobos/src/Makefile.am | 5 | ||||
-rw-r--r-- | libphobos/src/Makefile.in | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/libphobos/src/Makefile.am b/libphobos/src/Makefile.am index 51fd11e..c5d8a31 100644 --- a/libphobos/src/Makefile.am +++ b/libphobos/src/Makefile.am @@ -94,10 +94,11 @@ clean-local: # Handles generated files as well install-data-local: for file in $(ALL_PHOBOS_INSTALL_DSOURCES); do \ + $(MKDIR_P) `dirname $(DESTDIR)$(gdc_include_dir)/$$file` ; \ if test -f $$file; then \ - $(INSTALL_HEADER) -D $$file $(DESTDIR)$(gdc_include_dir)/$$file ; \ + $(INSTALL_HEADER) $$file $(DESTDIR)$(gdc_include_dir)/$$file ; \ else \ - $(INSTALL_HEADER) -D $(srcdir)/$$file \ + $(INSTALL_HEADER) $(srcdir)/$$file \ $(DESTDIR)$(gdc_include_dir)/$$file ; \ fi ; \ done diff --git a/libphobos/src/Makefile.in b/libphobos/src/Makefile.in index b6037ac..1f8889f 100644 --- a/libphobos/src/Makefile.in +++ b/libphobos/src/Makefile.in @@ -1650,10 +1650,11 @@ clean-local: # Handles generated files as well install-data-local: for file in $(ALL_PHOBOS_INSTALL_DSOURCES); do \ + $(MKDIR_P) `dirname $(DESTDIR)$(gdc_include_dir)/$$file` ; \ if test -f $$file; then \ - $(INSTALL_HEADER) -D $$file $(DESTDIR)$(gdc_include_dir)/$$file ; \ + $(INSTALL_HEADER) $$file $(DESTDIR)$(gdc_include_dir)/$$file ; \ else \ - $(INSTALL_HEADER) -D $(srcdir)/$$file \ + $(INSTALL_HEADER) $(srcdir)/$$file \ $(DESTDIR)$(gdc_include_dir)/$$file ; \ fi ; \ done |