From 5896410c8191f038bad84e62977ef50c80a252c3 Mon Sep 17 00:00:00 2001 From: foobar Date: Wed, 12 Feb 2003 04:04:36 +0000 Subject: [PATCH] - Added the man page installation --- sapi/cli/Makefile.frag | 4 +++- sapi/cli/config.m4 | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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) -- 2.40.0