summaryrefslogtreecommitdiff
path: root/sapi/fpm/Makefile.frag
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/fpm/Makefile.frag')
-rw-r--r--sapi/fpm/Makefile.frag4
1 files changed, 4 insertions, 0 deletions
diff --git a/sapi/fpm/Makefile.frag b/sapi/fpm/Makefile.frag
index 0859ef10c..c5cea7e52 100644
--- a/sapi/fpm/Makefile.frag
+++ b/sapi/fpm/Makefile.frag
@@ -2,6 +2,7 @@ fpm: $(SAPI_FPM_PATH)
$(builddir)/fpm:
@mkdir -p $(builddir)/fpm
+ @mkdir -p $(builddir)/fpm/events
$(SAPI_FPM_PATH): $(builddir)/fpm $(PHP_GLOBAL_OBJS) $(PHP_SAPI_OBJS) $(SAPI_EXTRA_DEPS)
$(BUILD_FPM)
@@ -26,3 +27,6 @@ install-fpm: install-sapi
@$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man8
@$(INSTALL_DATA) sapi/fpm/php-fpm.8 $(INSTALL_ROOT)$(mandir)/man8/php-fpm$(program_suffix).8
+ @echo "Installing PHP FPM status page: $(INSTALL_ROOT)$(datadir)/fpm/"
+ @$(mkinstalldirs) $(INSTALL_ROOT)$(datadir)/fpm
+ @$(INSTALL_DATA) sapi/fpm/status.html $(INSTALL_ROOT)$(datadir)/fpm/status.html