From: foobar Date: Wed, 12 Feb 2003 04:04:36 +0000 (+0000) Subject: - Added the man page installation X-Git-Tag: RELEASE_0_5~1087 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5896410c8191f038bad84e62977ef50c80a252c3;p=php - Added the man page installation --- diff --git a/sapi/cli/Makefile.frag b/sapi/cli/Makefile.frag index e9a016ccad..4c97ebe914 100644 --- a/sapi/cli/Makefile.frag +++ b/sapi/cli/Makefile.frag @@ -4,4 +4,6 @@ $(SAPI_CLI_PATH): $(PHP_GLOBAL_OBJS) $(PHP_CLI_OBJS) install-cli: $(SAPI_CLI_PATH) @echo "Installing PHP CLI binary: $(INSTALL_ROOT)$(bindir)/" @$(INSTALL_CLI) - + @echo "Installing PHP CLI man page: $(INSTALL_ROOT)$(mandir)/man1/" + @$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1 + @$(INSTALL_DATA) $(srcdir)/php.1 $(INSTALL_ROOT)$(mandir)/man1/php.1 diff --git a/sapi/cli/config.m4 b/sapi/cli/config.m4 index 9c10bd1633..439a636556 100644 --- a/sapi/cli/config.m4 +++ b/sapi/cli/config.m4 @@ -14,7 +14,7 @@ AC_ARG_ENABLE(cli, ]) if test "$PHP_SAPI_CLI" != "no"; then - PHP_ADD_MAKEFILE_FRAGMENT($abs_srcdir/sapi/cli/Makefile.frag) + PHP_ADD_MAKEFILE_FRAGMENT($abs_srcdir/sapi/cli/Makefile.frag,$abs_srcdir/sapi/cli,sapi/cli) SAPI_CLI_PATH=sapi/cli/php PHP_SUBST(SAPI_CLI_PATH)