~ubuntu-branches/ubuntu/hardy/php5/hardy-updates

« back to all changes in this revision

Viewing changes to pear/Makefile.frag

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-10-09 03:14:32 UTC
  • Revision ID: james.westby@ubuntu.com-20051009031432-kspik3lobxstafv9
Tags: upstream-5.0.5
ImportĀ upstreamĀ versionĀ 5.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- makefile -*-
 
2
 
 
3
peardir=$(PEAR_INSTALLDIR)
 
4
 
 
5
# Skip all php.ini files altogether
 
6
PEAR_INSTALL_FLAGS = -n -dshort_open_tag=0 -dsafe_mode=0
 
7
 
 
8
install-pear-installer: $(top_builddir)/sapi/cli/php
 
9
        @$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS) $(srcdir)/install-pear.php -d "$(peardir)" -b "$(bindir)" $(srcdir)/package-*.xml
 
10
 
 
11
install-pear-packages: $(top_builddir)/sapi/cli/php
 
12
        @$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS) $(srcdir)/install-pear.php -d "$(peardir)" -b "$(bindir)" $(srcdir)/packages/*.tar
 
13
 
 
14
install-pear:
 
15
        @echo "Installing PEAR environment:      $(INSTALL_ROOT)$(peardir)/"
 
16
        @if $(mkinstalldirs) $(INSTALL_ROOT)$(peardir); then \
 
17
                $(MAKE) -s install-pear-installer install-pear-packages; \
 
18
        else \
 
19
                cat $(srcdir)/install-pear.txt; \
 
20
                exit 5; \
 
21
        fi
 
22