mirror of
https://github.com/php/php-src.git
synced 2025-01-07 19:44:02 +08:00
14 lines
590 B
Makefile
14 lines
590 B
Makefile
cli: $(SAPI_CLI_PATH)
|
|
|
|
$(SAPI_CLI_PATH): $(PHP_GLOBAL_OBJS) $(PHP_BINARY_OBJS) $(PHP_CLI_OBJS)
|
|
$(BUILD_CLI)
|
|
|
|
install-cli: $(SAPI_CLI_PATH)
|
|
@echo "Installing PHP CLI binary: $(INSTALL_ROOT)$(bindir)/"
|
|
@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir)
|
|
@$(INSTALL) -m 0755 $(SAPI_CLI_PATH) $(INSTALL_ROOT)$(bindir)/$(program_prefix)php$(program_suffix)$(EXEEXT)
|
|
@echo "Installing PHP CLI man page: $(INSTALL_ROOT)$(mandir)/man1/"
|
|
@$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1
|
|
@$(INSTALL_DATA) sapi/cli/php.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)php$(program_suffix).1
|
|
|