sas Mon Aug 25 20:03:34 2003 EDT
Modified files: (Branch: PHP_4_3)
/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.1.2.1 php-src/scripts/Makefile.frag:1.1.2.2
--- php-src/scripts/Makefile.frag:1.1.2.1 Tue Jan 28 10:02:07 2003
+++ php-src/scripts/Makefile.frag Mon Aug 25 20:03:33 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 = \
/ \
@@ -42,10 +42,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)/"
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php