diff options
author | Sascha Schumann <sas@php.net> | 2003-08-26 00:04:25 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2003-08-26 00:04:25 +0000 |
commit | 0ad5fa63c9e770409a883507398b7de202fcd6aa (patch) | |
tree | 7371b77b1977e3ea474de8d7feeee0b7d70b9757 /scripts/Makefile.frag | |
parent | 28447d62da76bf66d0274ae12684a2f803fa4d0b (diff) | |
download | php-git-0ad5fa63c9e770409a883507398b7de202fcd6aa.tar.gz |
Use $(INSTALL_DATA) instead of cp
Diffstat (limited to 'scripts/Makefile.frag')
-rw-r--r-- | scripts/Makefile.frag | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/Makefile.frag b/scripts/Makefile.frag index 8acb71a438..60c0a9b81c 100644 --- a/scripts/Makefile.frag +++ b/scripts/Makefile.frag @@ -20,7 +20,7 @@ bin_src_SCRIPTS = phpextdist install-build: @echo "Installing build environment: $(INSTALL_ROOT)$(phpbuilddir)/" @$(mkinstalldirs) $(INSTALL_ROOT)$(phpbuilddir) $(INSTALL_ROOT)$(bindir) && \ - (cd $(top_srcdir) && cp $(BUILD_FILES) $(INSTALL_ROOT)$(phpbuilddir)) + (cd $(top_srcdir) && $(INSTALL_DATA) $(BUILD_FILES) $(INSTALL_ROOT)$(phpbuilddir)) HEADER_DIRS = \ / \ @@ -43,10 +43,10 @@ install-headers: $(mkinstalldirs) $$paths && \ echo "Installing header files: $(INSTALL_ROOT)$(phpincludedir)/" && \ for i in $(HEADER_DIRS); do \ - (cd $(top_srcdir)/$$i && cp -p *.h $(INSTALL_ROOT)$(phpincludedir)/$$i; \ - cd $(top_builddir)/$$i && cp -p *.h $(INSTALL_ROOT)$(phpincludedir)/$$i) 2>/dev/null || true; \ + (cd $(top_srcdir)/$$i && $(INSTALL_DATA) *.h $(INSTALL_ROOT)$(phpincludedir)/$$i; \ + cd $(top_builddir)/$$i && $(INSTALL_DATA) *.h $(INSTALL_ROOT)$(phpincludedir)/$$i) 2>/dev/null || true; \ done; \ - cd $(top_srcdir)/sapi/embed && cp -p *.h $(INSTALL_ROOT)$(phpincludedir)/main + cd $(top_srcdir)/sapi/embed && $(INSTALL_DATA) *.h $(INSTALL_ROOT)$(phpincludedir)/main install-programs: @echo "Installing helper programs: $(INSTALL_ROOT)$(bindir)/" |