summaryrefslogtreecommitdiff
path: root/Makefile.global
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-12-04 15:57:55 (GMT)
committerfoobar <sniper@php.net>2003-12-04 15:57:55 (GMT)
commite13e315a10cff71e83b71d50d2092fa50f10b3c7 (patch)
treeff7f0cc2866937a5bfe4bab23ff6418260debed7 /Makefile.global
parent9555db802d5977634c45961319050c5ff5933fcb (diff)
downloadphp-e13e315a10cff71e83b71d50d2092fa50f10b3c7.tar.gz
- Only add 'install-modules' into install targets when there are such
modules to install.
Diffstat (limited to 'Makefile.global')
-rw-r--r--Makefile.global8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.global b/Makefile.global
index 0492759..e30bc42 100644
--- a/Makefile.global
+++ b/Makefile.global
@@ -38,10 +38,10 @@ install-sapi: $(OVERALL_TARGET)
install-modules: build-modules
@test -d modules && \
- $(mkinstalldirs) $(INSTALL_ROOT)$(EXTENSION_DIR) && \
- echo "Installing shared extensions: $(INSTALL_ROOT)$(EXTENSION_DIR)/" && \
- rm -f modules/*.la && \
- $(INSTALL) modules/* $(INSTALL_ROOT)$(EXTENSION_DIR) >/dev/null 2>&1 || true
+ $(mkinstalldirs) $(INSTALL_ROOT)$(EXTENSION_DIR)
+ @echo "Installing shared extensions: $(INSTALL_ROOT)$(EXTENSION_DIR)/"
+ @rm -f modules/*.la >/dev/null 2>&1
+ @$(INSTALL) modules/* $(INSTALL_ROOT)$(EXTENSION_DIR)
install-tester:
@echo "Installing regression tester: $(INSTALL_ROOT)$(PEAR_INSTALLDIR)/"