summaryrefslogtreecommitdiff
path: root/ext/phar/Makefile.frag
diff options
context:
space:
mode:
Diffstat (limited to 'ext/phar/Makefile.frag')
-rw-r--r--ext/phar/Makefile.frag4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/phar/Makefile.frag b/ext/phar/Makefile.frag
index b1c820f27..ed6de9fd6 100644
--- a/ext/phar/Makefile.frag
+++ b/ext/phar/Makefile.frag
@@ -40,3 +40,7 @@ install-pharcmd: pharcmd
$(INSTALL) $(builddir)/phar.phar $(INSTALL_ROOT)$(bindir)
-@rm -f $(INSTALL_ROOT)$(bindir)/phar
$(LN_S) -f $(bindir)/phar.phar $(INSTALL_ROOT)$(bindir)/phar
+ @$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1
+ @$(INSTALL_DATA) $(builddir)/phar.1 $(INSTALL_ROOT)$(mandir)/man1/phar.1
+ @$(INSTALL_DATA) $(builddir)/phar.phar.1 $(INSTALL_ROOT)$(mandir)/man1/phar.phar.1
+