diff options
Diffstat (limited to 'pear/Makefile.in')
-rw-r--r-- | pear/Makefile.in | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/pear/Makefile.in b/pear/Makefile.in index 938e9dd80c..7eb0a5aa35 100644 --- a/pear/Makefile.in +++ b/pear/Makefile.in @@ -100,16 +100,16 @@ PEAR_FILES = \ XML/RPC.php install-data-local: PEAR.php - @if $(mkinstalldirs) $(peardir); then \ + @if $(mkinstalldirs) $(INSTALL_ROOT)$(peardir); then \ for i in $(PEAR_SUBDIRS); do \ - (set -x;$(mkinstalldirs) $(peardir)/$$i); \ + (set -x;$(mkinstalldirs) $(INSTALL_ROOT)$(peardir)/$$i); \ done; \ for i in $(PEAR_FILES); do \ dir=`echo $$i|sed 's%[^/][^/]*$$%%'`; \ - (set -x;$(INSTALL_DATA) $(srcdir)/$$i $(peardir)/$$dir); \ + (set -x;$(INSTALL_DATA) $(srcdir)/$$i $(INSTALL_ROOT)$(peardir)/$$dir); \ done; \ for i in PEAR.php; do \ - (set -x;$(INSTALL_DATA) $$i $(peardir)); \ + (set -x;$(INSTALL_DATA) $$i $(INSTALL_ROOT)$(peardir)); \ done; \ else \ cat $(srcdir)/install-pear.txt; \ @@ -137,15 +137,15 @@ BUILD_FILES = \ bin_SCRIPTS = phpize php-config pear install-build: - $(mkinstalldirs) $(phpbuilddir) $(bindir) && \ - (cd $(top_srcdir) && cp $(BUILD_FILES) $(phpbuilddir)) + $(mkinstalldirs) $(INSTALL_ROOT)$(phpbuilddir) $(INSTALL_ROOT)$(bindir) && \ + (cd $(top_srcdir) && cp $(BUILD_FILES) $(INSTALL_ROOT)$(phpbuilddir)) install-programs: for prog in $(bin_SCRIPTS); do \ - $(INSTALL) -m 755 scripts/$$prog $(bindir)/$$prog; \ + $(INSTALL) -m 755 scripts/$$prog $(INSTALL_ROOT)$(bindir)/$$prog; \ done; \ for prog in phpextdist; do \ - $(INSTALL) -m 755 $(srcdir)/scripts/$$prog $(bindir)/$$prog; \ + $(INSTALL) -m 755 $(srcdir)/scripts/$$prog $(INSTALL_ROOT)$(bindir)/$$prog; \ done HEADER_DIRS = \ @@ -161,13 +161,13 @@ HEADER_DIRS = \ install-headers: -@for i in $(HEADER_DIRS); do \ - paths="$$paths $(phpincludedir)/$$i"; \ + paths="$$paths $(INSTALL_ROOT)$(phpincludedir)/$$i"; \ done; \ $(mkinstalldirs) $$paths && \ echo "creating header file hierarchy" && \ for i in $(HEADER_DIRS); do \ - (cd $(top_srcdir)/$$i && cp -p *.h $(phpincludedir)/$$i; \ - cd $(top_builddir)/$$i && cp -p *.h $(phpincludedir)/$$i) 2>/dev/null || true; \ + (cd $(top_srcdir)/$$i && cp -p *.h $(INSTALL_ROOT)$(phpincludedir)/$$i; \ + cd $(top_builddir)/$$i && cp -p *.h $(INSTALL_ROOT)$(phpincludedir)/$$i) 2>/dev/null || true; \ done Makefile: Makefile.in $(top_builddir)/config.status |