cvs: php-src /scripts Makefile.frag
| From: | Sascha Schumann | Date: | Tue, 26 Aug 2003 00:04:26 +0000 |
| Subject: | cvs: php-src /scripts Makefile.frag | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-23394@lists.php.net to get a copy of this message | ||
sas Mon Aug 25 20:04:26 2003 EDT
Modified files:
/php-src/scripts Makefile.frag
Log:
Use $(INSTALL_DATA) instead of cp
Index: php-src/scripts/Makefile.frag
diff -u php-src/scripts/Makefile.frag:1.3 php-src/scripts/Makefile.frag:1.4
--- php-src/scripts/Makefile.frag:1.3 Sun Jun 8 20:17:03 2003
+++ php-src/scripts/Makefile.frag Mon Aug 25 20:04:25 2003
@@ -20,7 +20,7 @@
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 @@
$(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)/"