]>
Commit | Line | Data |
---|---|---|
e24490fb ER |
1 | --- php-5.2.6/sapi/cgi/fpm/Makefile.frag~ 2008-11-16 17:28:21.000000000 +0200 |
2 | +++ php-5.2.6/sapi/cgi/fpm/Makefile.frag 2008-11-16 17:45:31.953423690 +0200 | |
3 | @@ -1,8 +1,10 @@ | |
4 | ||
5 | +php_fpm_init_dir = /etc/rc.d/init.d | |
6 | + | |
7 | install-fpm: sapi/cgi/fpm/php-fpm.conf sapi/cgi/fpm/php-fpm | |
8 | @echo "Installing FPM config: $(INSTALL_ROOT)$(php_fpm_conf_path)" | |
9 | -@$(mkinstalldirs) \ | |
10 | - $(INSTALL_ROOT)$(prefix)/sbin \ | |
11 | + $(INSTALL_ROOT)$(php_fpm_init_dir) \ | |
12 | `dirname "$(INSTALL_ROOT)$(php_fpm_conf_path)"` \ | |
13 | `dirname "$(INSTALL_ROOT)$(php_fpm_log_path)"` \ | |
14 | `dirname "$(INSTALL_ROOT)$(php_fpm_pid_path)"` | |
15 | @@ -13,8 +15,8 @@ | |
16 | dest=`basename "$(php_fpm_conf_path)"` ; \ | |
17 | fi ; \ | |
18 | $(INSTALL_DATA) $(top_builddir)/sapi/cgi/fpm/php-fpm.conf $(INSTALL_ROOT)`dirname "$(php_fpm_conf_path)"`/$$dest | |
19 | - @echo "Installing init.d script: $(INSTALL_ROOT)$(prefix)/sbin/php-fpm" | |
20 | - -@$(INSTALL) -m 0755 $(top_builddir)/sapi/cgi/fpm/php-fpm $(INSTALL_ROOT)$(prefix)/sbin/php-fpm | |
21 | + @echo "Installing init.d script: $(INSTALL_ROOT)$(php_fpm_init_dir)/php-fpm" | |
22 | + -@$(INSTALL) -m 0755 $(top_builddir)/sapi/cgi/fpm/php-fpm $(INSTALL_ROOT)$(php_fpm_init_dir)/php-fpm | |
23 | ||
24 | $(top_builddir)/libevent/libevent.a: $(top_builddir)/libevent/Makefile | |
25 | cd $(top_builddir)/libevent && $(MAKE) libevent.a |