cvs: php-src(PHP_5_1) /pear Makefile.frag
| From: | Greg Beaver | Date: | Wed, 07 Sep 2005 15:59:54 +0000 |
| Subject: | cvs: php-src(PHP_5_1) /pear Makefile.frag | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-33844@lists.php.net to get a copy of this message | ||
cellog Wed Sep 7 11:59:54 2005 EDT
Modified files: (Branch: PHP_5_1)
/php-src/pear Makefile.frag
Log:
change makefile to use phar and not source, if present
http://cvs.php.net/diff.php/php-src/pear/Makefile.frag?r1=1.35&r2=1.35.6.1&ty=u
Index: php-src/pear/Makefile.frag
diff -u php-src/pear/Makefile.frag:1.35 php-src/pear/Makefile.frag:1.35.6.1
--- php-src/pear/Makefile.frag:1.35 Mon Sep 1 21:29:21 2003
+++ php-src/pear/Makefile.frag Wed Sep 7 11:59:53 2005
@@ -6,15 +6,12 @@
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; \