From: ponce Date: Thu, 21 May 2015 11:30:58 +0000 (+0200) Subject: Make the phar symlink relative X-Git-Tag: php-5.5.26RC1~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c3d983f3af509655951bb659e360c69ba9bf7188;p=php Make the phar symlink relative or we got a symlink pointing to the build files thanks also to remicollet --- diff --git a/ext/phar/Makefile.frag b/ext/phar/Makefile.frag index 6516ddfabd..b8b1b42d43 100644 --- a/ext/phar/Makefile.frag +++ b/ext/phar/Makefile.frag @@ -39,7 +39,7 @@ install-pharcmd: pharcmd -@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir) $(INSTALL) $(builddir)/phar.phar $(INSTALL_ROOT)$(bindir) -@rm -f $(INSTALL_ROOT)$(bindir)/phar - $(LN_S) -f $(INSTALL_ROOT)$(bindir)/phar.phar $(INSTALL_ROOT)$(bindir)/phar + $(LN_S) -f 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