summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/Makefile.frag1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile.frag b/scripts/Makefile.frag
index 632cbb00d7..00272b02b1 100644
--- a/scripts/Makefile.frag
+++ b/scripts/Makefile.frag
@@ -33,6 +33,7 @@ install-build:
install-programs: $(builddir)/phpize $(builddir)/php-config
@echo "Installing helper programs: $(INSTALL_ROOT)$(bindir)/"
+ @$(mkinstalldirs) $(INSTALL_ROOT)$(bindir)
@for prog in $(bin_SCRIPTS); do \
echo " program: $(program_prefix)$${prog}$(program_suffix)"; \
$(INSTALL) -m 755 $(builddir)/$${prog} $(INSTALL_ROOT)$(bindir)/$(program_prefix)$${prog}$(program_suffix); \