2002-04-02 09:09:41 +00:00
|
|
|
# -*- makefile -*-
|
1999-12-30 02:59:53 +00:00
|
|
|
|
2000-07-17 22:52:08 +00:00
|
|
|
peardir=$(PEAR_INSTALLDIR)
|
2000-05-02 22:28:12 +00:00
|
|
|
|
2002-11-12 23:30:21 +00:00
|
|
|
# Skip all php.ini files altogether
|
2005-09-30 17:03:22 +00:00
|
|
|
PEAR_INSTALL_FLAGS = -n -dshort_open_tag=0 -dsafe_mode=0 -derror_reporting=0
|
2002-10-29 15:59:19 +00:00
|
|
|
|
2002-05-09 12:45:02 +00:00
|
|
|
install-pear-installer: $(top_builddir)/sapi/cli/php
|
2005-09-07 15:59:53 +00:00
|
|
|
@$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS) $(srcdir)/install-pear.phar -d "$(peardir)" -b "$(bindir)"
|
2002-04-02 09:09:41 +00:00
|
|
|
|
2002-03-11 13:17:44 +00:00
|
|
|
install-pear:
|
2002-07-03 22:12:13 +00:00
|
|
|
@echo "Installing PEAR environment: $(INSTALL_ROOT)$(peardir)/"
|
2005-09-30 17:03:22 +00:00
|
|
|
@if test ! -f $(srcdir)/install-pear.phar; then \
|
|
|
|
wget http://pear.php.net/install-pear.phar -nd -P $(srcdir); \
|
|
|
|
fi
|
2005-09-08 09:11:10 +00:00
|
|
|
@if test -f $(srcdir)/install-pear.phar && $(mkinstalldirs) $(INSTALL_ROOT)$(peardir); then \
|
2005-09-07 15:59:53 +00:00
|
|
|
$(MAKE) -s install-pear-installer; \
|
2000-05-02 22:28:12 +00:00
|
|
|
else \
|
|
|
|
cat $(srcdir)/install-pear.txt; \
|
|
|
|
fi
|
1999-12-30 02:59:53 +00:00
|
|
|
|