xref: /PHP-5.3/sapi/cli/Makefile.frag (revision 3fbee80f)
1cli: $(SAPI_CLI_PATH)
2
3$(SAPI_CLI_PATH): $(PHP_GLOBAL_OBJS) $(PHP_CLI_OBJS)
4	$(BUILD_CLI)
5
6install-cli: $(SAPI_CLI_PATH)
7	@echo "Installing PHP CLI binary:        $(INSTALL_ROOT)$(bindir)/"
8	@$(INSTALL_CLI)
9	@echo "Installing PHP CLI man page:      $(INSTALL_ROOT)$(mandir)/man1/"
10	@$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1
11	@$(INSTALL_DATA) $(builddir)/php.1 $(INSTALL_ROOT)$(mandir)/man1/$(program_prefix)php$(program_suffix).1
12