com php-src: Make the phar symlink relative: ext/phar/Makefile.frag
| From: | Remi Collet | Date: | Thu, 21 May 2015 12:03:18 +0000 |
| Subject: | com php-src: Make the phar symlink relative: ext/phar/Makefile.frag | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86857@lists.php.net to get a copy of this message | ||
Commit: c3d983f3af509655951bb659e360c69ba9bf7188
Author: ponce <matteo.bernardini@gmail.com> Thu, 21 May 2015 13:30:58 +0200
Committer: Remi Collet <remi@php.net> Thu, 21 May 2015 14:03:18 +0200
Parents: c507c533bd1c34f1c71b4ffd5f14869776533cc3
Branches: PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c3d983f3af509655951bb659e360c69ba9bf7188
Log:
Make the phar symlink relative
or we got a symlink pointing to the build files
thanks also to remicollet
Changed paths:
M ext/phar/Makefile.frag
Diff:
diff --git a/ext/phar/Makefile.frag b/ext/phar/Makefile.frag
index 6516ddf..b8b1b42 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