MFH: - Fixed bug #28385 (some files in $(prefix)/lib/php/build/* installed with wrong...
authorfoobar <sniper@php.net>
Tue, 21 Dec 2004 04:59:34 +0000 (04:59 +0000)
committerfoobar <sniper@php.net>
Tue, 21 Dec 2004 04:59:34 +0000 (04:59 +0000)
scripts/Makefile.frag

index 13b92c96625ce9d4d9c749113b3442a602a0fda5..8ff40dabf43aea95d50965eb1beabe854e6b82d9 100644 (file)
@@ -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 = \
        / \