cvs: php4 / Makefile.global
| From: | Sascha Schumann | Date: | Mon, 09 Dec 2002 15:32:17 +0000 |
| Subject: | cvs: php4 / Makefile.global | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17031@lists.php.net to get a copy of this message | ||
sas Mon Dec 9 10:32:17 2002 EDT
Modified files:
/php4 Makefile.global
Log:
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).
Index: php4/Makefile.global
diff -u php4/Makefile.global:1.40 php4/Makefile.global:1.41
--- php4/Makefile.global:1.40 Tue Nov 12 12:40:38 2002
+++ php4/Makefile.global Mon Dec 9 10:32:17 2002
@@ -37,7 +37,7 @@
$(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)/"