diff options
author | Sascha Schumann <sas@php.net> | 2000-05-02 22:28:12 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-05-02 22:28:12 +0000 |
commit | 9f6976d6d505d60be25b68e186cc1a0fa2d365cb (patch) | |
tree | e7f7a70eda31d8f422a086c47b4a3a21357581c0 /pear | |
parent | 515b7e74dfe6dd42bc3ae1d0e4afbc2ad63837a7 (diff) | |
download | php-git-9f6976d6d505d60be25b68e186cc1a0fa2d365cb.tar.gz |
Complain loudly, if we were not able to install everything.
Diffstat (limited to 'pear')
-rw-r--r-- | pear/Makefile.in | 39 | ||||
-rw-r--r-- | pear/install-pear.txt | 11 |
2 files changed, 38 insertions, 12 deletions
diff --git a/pear/Makefile.in b/pear/Makefile.in index 76f93ac96f..39fbf582c8 100644 --- a/pear/Makefile.in +++ b/pear/Makefile.in @@ -4,20 +4,35 @@ install_targets = install-data-local install-headers install-build include $(top_srcdir)/build/rules.mk peardir=$(prefix)/lib/php -pear_DBdir=$(prefix)/lib/php/DB -pear_Filedir=$(prefix)/lib/php/File + +PEAR_SUBDIRS = \ + DB \ + File + +PEAR_FILES = \ + DB.php \ + DB/common.php \ + DB/odbc.php \ + DB/mysql.php \ + DB/mssql.php \ + DB/pgsql.php \ + DB/storage.php \ + HTTP.php \ + File/Find.php install-data-local: - -@$(mkinstalldirs) $(peardir) $(pear_DBdir) $(pear_Filedir) && \ - $(INSTALL_DATA) $(srcdir)/DB.php $(peardir) && \ - $(INSTALL_DATA) $(srcdir)/DB/common.php $(pear_DBdir) && \ - $(INSTALL_DATA) $(srcdir)/DB/odbc.php $(pear_DBdir) && \ - $(INSTALL_DATA) $(srcdir)/DB/mysql.php $(pear_DBdir) && \ - $(INSTALL_DATA) $(srcdir)/DB/mssql.php $(pear_DBdir) && \ - $(INSTALL_DATA) $(srcdir)/DB/pgsql.php $(pear_DBdir) && \ - $(INSTALL_DATA) $(srcdir)/DB/storage.php $(pear_DBdir) && \ - $(INSTALL_DATA) $(srcdir)/HTTP.php $(peardir) && \ - $(INSTALL_DATA) $(srcdir)/File/Find.php $(pear_Filedir) + @if $(mkinstalldirs) $(peardir); then \ + for i in $(PEAR_SUBDIRS); do \ + $(mkinstalldirs) $(peardir)/$$i; \ + done; \ + for i in $(PEAR_FILES); do \ + dir=`echo $$i|sed 's%[^/][^/]*$%%'`; \ + $(INSTALL_DATA) $(srcdir)/$$i $(peardir)/$$dir; \ + done; \ + else \ + cat $(srcdir)/install-pear.txt; \ + exit 5; \ + fi phpincludedir = $(includedir)/php builddir = $(prefix)/lib/php/build diff --git a/pear/install-pear.txt b/pear/install-pear.txt new file mode 100644 index 0000000000..3cb9338a40 --- /dev/null +++ b/pear/install-pear.txt @@ -0,0 +1,11 @@ ++----------------------------------------------------------------------+ +| The installation process is incomplete. The following resources were | +| not installed: | +| | +| Self-contained Extension Support | +| PEAR: PHP Extension and Add-on Repository | +| | +| To install these components, become the superuser and execute: | +| | +| # make install-su | ++----------------------------------------------------------------------+ |