From bf94671c3ca024203483b73e9a41dd95cc52d566 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sun, 27 Aug 2000 11:10:38 +0000 Subject: [PATCH] Fix install-local-data target in VPATH mode. PEAR.php is generated and stored in builddir. --- pear/Makefile.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; \ -- 2.50.1