Skip to content

Commit f4ce5e7

Browse files
committed
Fixed Bug #65142 Missing phar man page
Simple man page from phar help output.
1 parent 4bc11af commit f4ce5e7

File tree

5 files changed

+533
-0
lines changed

5 files changed

+533
-0
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ PHP NEWS
4242
. Allowed PDO_OCI to compile with Oracle Database 12c client libraries.
4343
(Chris Jones)
4444

45+
- Phar:
46+
. Fixed Bug #65142 (Missing phar man page). (Remi)
47+
4548
- Session
4649
. Fixed bug #62535 ($_SESSION[$key]["cancel_upload"] doesn't work as
4750
documented). (Arpad)

ext/phar/Makefile.frag

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,7 @@ install-pharcmd: pharcmd
4040
$(INSTALL) $(builddir)/phar.phar $(INSTALL_ROOT)$(bindir)
4141
-@rm -f $(INSTALL_ROOT)$(bindir)/phar
4242
$(LN_S) -f $(bindir)/phar.phar $(INSTALL_ROOT)$(bindir)/phar
43+
@$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1
44+
@$(INSTALL_DATA) $(builddir)/phar.1 $(INSTALL_ROOT)$(mandir)/man1/phar.1
45+
@$(INSTALL_DATA) $(builddir)/phar.phar.1 $(INSTALL_ROOT)$(mandir)/man1/phar.phar.1
46+

ext/phar/config.m4

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,6 @@ if test "$PHP_PHAR" != "no"; then
2727
PHP_ADD_EXTENSION_DEP(phar, hash, true)
2828
PHP_ADD_EXTENSION_DEP(phar, spl, true)
2929
PHP_ADD_MAKEFILE_FRAGMENT
30+
31+
PHP_OUTPUT(ext/phar/phar.1 ext/phar/phar.phar.1)
3032
fi

0 commit comments

Comments
 (0)