summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/Makefile.frag8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/Makefile.frag b/scripts/Makefile.frag
index d7519008c6..5904f54674 100644
--- a/scripts/Makefile.frag
+++ b/scripts/Makefile.frag
@@ -9,18 +9,22 @@ phpbuilddir = $(prefix)/lib/php/build
BUILD_FILES = \
scripts/phpize.m4 \
build/mkdep.awk \
- build/shtool \
build/scan_makefile_in.awk \
Makefile.global \
acinclude.m4
+BUILD_FILES_EXEC = \
+ build/shtool
+
bin_SCRIPTS = phpize php-config
bin_src_SCRIPTS = phpextdist
install-build:
@echo "Installing build environment: $(INSTALL_ROOT)$(phpbuilddir)/"
@$(mkinstalldirs) $(INSTALL_ROOT)$(phpbuilddir) $(INSTALL_ROOT)$(bindir) && \
- (cd $(top_srcdir) && $(INSTALL) $(BUILD_FILES) $(INSTALL_ROOT)$(phpbuilddir))
+ (cd $(top_srcdir) && \
+ $(INSTALL) $(BUILD_FILES_EXEC) $(INSTALL_ROOT)$(phpbuilddir) && \
+ $(INSTALL_DATA) $(BUILD_FILES) $(INSTALL_ROOT)$(phpbuilddir))
HEADER_DIRS = \
/ \