diff options
author | Wilfredo Sanchez <wsanchez@php.net> | 2001-04-03 20:59:50 +0000 |
---|---|---|
committer | Wilfredo Sanchez <wsanchez@php.net> | 2001-04-03 20:59:50 +0000 |
commit | 0df6e8dd88e7233e75683271b96a38bf7c4c6fef (patch) | |
tree | df2629a47c454055dd0c7403d0d052a01a29b5f7 /Makefile.in | |
parent | a0a471e7a3eca3ec17655951b3020cf32570eb36 (diff) | |
download | php-git-0df6e8dd88e7233e75683271b96a38bf7c4c6fef.tar.gz |
Add INSTALL_ROOT variable to specify install location.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index 6968ba80fc..1009646508 100644 --- a/Makefile.in +++ b/Makefile.in @@ -32,7 +32,7 @@ include $(top_srcdir)/build/program.mk install-sapi: @$(LIBTOOL) --silent --mode=install cp libphp4.la $(phptempdir)/libphp4.la >/dev/null 2>&1 - -@$(mkinstalldirs) $(bindir) + -@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir) -@if test ! -r $(phptempdir)/libphp4.$(SHLIB_SUFFIX_NAME); then \ for i in 0.0.0 0.0 0; do \ if test -r $(phptempdir)/libphp4.$(SHLIB_SUFFIX_NAME).$$i; then \ @@ -45,10 +45,10 @@ install-sapi: install-modules: @test -d modules && \ - $(mkinstalldirs) $(moduledir) && \ + $(mkinstalldirs) $(INSTALL_ROOT)$(moduledir) && \ echo "installing shared modules into $(moduledir)" && \ rm -f modules/*.la && \ - cp modules/* $(moduledir) >/dev/null 2>&1 || true + cp modules/* $(INSTALL_ROOT)$(moduledir) >/dev/null 2>&1 || true install-su: install-modules (cd pear && $(MAKE) install) |