From: Sascha Schumann Date: Sun, 27 Aug 2000 11:10:38 +0000 (+0000) Subject: Fix install-local-data target in VPATH mode. PEAR.php is generated and X-Git-Tag: php-4.0.2~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bf94671c3ca024203483b73e9a41dd95cc52d566;p=php Fix install-local-data target in VPATH mode. PEAR.php is generated and stored in builddir. --- 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; \