summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2005-09-07 15:59:53 +0000
committerGreg Beaver <cellog@php.net>2005-09-07 15:59:53 +0000
commit38a52c5b0d9215c85709517bb75cf7125ab38093 (patch)
tree3ff941fe1617879c7dcd094ccb500da9d855d8ef /pear
parent8a39d704c41a90d95925d2cdda6c27911081c46c (diff)
downloadphp-git-38a52c5b0d9215c85709517bb75cf7125ab38093.tar.gz
change makefile to use phar and not source, if present
Diffstat (limited to 'pear')
-rw-r--r--pear/Makefile.frag9
1 files changed, 3 insertions, 6 deletions
diff --git a/pear/Makefile.frag b/pear/Makefile.frag
index 743fa9dae8..75e25ffa3c 100644
--- a/pear/Makefile.frag
+++ b/pear/Makefile.frag
@@ -6,15 +6,12 @@ peardir=$(PEAR_INSTALLDIR)
PEAR_INSTALL_FLAGS = -n -dshort_open_tag=0 -dsafe_mode=0
install-pear-installer: $(top_builddir)/sapi/cli/php
- @$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS) $(srcdir)/install-pear.php -d "$(peardir)" -b "$(bindir)" $(srcdir)/package-*.xml
-
-install-pear-packages: $(top_builddir)/sapi/cli/php
- @$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS) $(srcdir)/install-pear.php -d "$(peardir)" -b "$(bindir)" $(srcdir)/packages/*.tar
+ @$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS) $(srcdir)/install-pear.phar -d "$(peardir)" -b "$(bindir)"
install-pear:
@echo "Installing PEAR environment: $(INSTALL_ROOT)$(peardir)/"
- @if $(mkinstalldirs) $(INSTALL_ROOT)$(peardir); then \
- $(MAKE) -s install-pear-installer install-pear-packages; \
+ @if $(srcdir)/install-pear.phar $(mkinstalldirs) $(INSTALL_ROOT)$(peardir); then \
+ $(MAKE) -s install-pear-installer; \
else \
cat $(srcdir)/install-pear.txt; \
exit 5; \