Browse Source

Fix install-local-data target in VPATH mode. PEAR.php is generated and

stored in builddir.
PHP-4.0.5
Sascha Schumann 26 years ago
parent
commit
bf94671c3c
  1. 5
      pear/Makefile.in

5
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; \

Loading…
Cancel
Save