summaryrefslogtreecommitdiff
path: root/Makefile.global
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-12-09 15:32:17 (GMT)
committerSascha Schumann <sas@php.net>2002-12-09 15:32:17 (GMT)
commit7b2fd2c6c994dfee93871a31d27d5bcd2ba450ba (patch)
treea3295d78bcaa9a9d7def0b9ddd03d0d255edeece /Makefile.global
parent3994fbbc86bf7512f4031eef249addc82d919240 (diff)
downloadphp-7b2fd2c6c994dfee93871a31d27d5bcd2ba450ba.tar.gz
Use $(INSTALL) rather than cp to install modules.
$(INSTALL) will usually unlink the target file first, so that in-memory instances of the old file don't get simply overwritten (and crash and burn).
Diffstat (limited to 'Makefile.global')
-rw-r--r--Makefile.global2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.global b/Makefile.global
index be922fc..f575a20 100644
--- a/Makefile.global
+++ b/Makefile.global
@@ -37,7 +37,7 @@ install-modules: build-modules
$(mkinstalldirs) $(INSTALL_ROOT)$(EXTENSION_DIR) && \
echo "Installing shared extensions: $(INSTALL_ROOT)$(EXTENSION_DIR)/" && \
rm -f modules/*.la && \
- cp modules/* $(INSTALL_ROOT)$(EXTENSION_DIR) >/dev/null 2>&1 || true
+ $(INSTALL) modules/* $(INSTALL_ROOT)$(EXTENSION_DIR) >/dev/null 2>&1 || true
install-tester:
@echo "Installing regression tester: $(INSTALL_ROOT)$(PEAR_INSTALLDIR)/"