diff options
| author | Sascha Schumann <sas@php.net> | 2000-08-27 11:10:38 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 2000-08-27 11:10:38 +0000 |
| commit | bf94671c3ca024203483b73e9a41dd95cc52d566 (patch) | |
| tree | 1d0ee1c429f35800eb4692ea681bf84228ac2750 | |
| parent | c66bc46bb1dd249c2dbbb8abbfe571abacda3cfc (diff) | |
| download | php-git-bf94671c3ca024203483b73e9a41dd95cc52d566.tar.gz | |
Fix install-local-data target in VPATH mode. PEAR.php is generated and
stored in builddir.
| -rw-r--r-- | pear/Makefile.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pear/Makefile.in b/pear/Makefile.in index 111b917249..4582ee1dfc 100644 --- a/pear/Makefile.in +++ b/pear/Makefile.in @@ -27,7 +27,6 @@ PEAR_FILES = \ HTTP.php \ File/Find.php \ Net/Socket.php \ - PEAR.php \ PEAR/Installer.php install-data-local: PEAR.php @@ -39,6 +38,10 @@ install-data-local: PEAR.php dir=`echo $$i|sed 's%[^/][^/]*$$%%'`; \ $(INSTALL_DATA) $(srcdir)/$$i $(peardir)/$$dir; \ done; \ + for i in PEAR.php; do \ + dir=`echo $$i|sed 's%[^/][^/]*$$%%'`; \ + $(INSTALL_DATA) $(builddir)/$$i $(peardir)/$$dir; \ + done; \ else \ cat $(srcdir)/install-pear.txt; \ exit 5; \ |
