summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2015-05-21 13:30:58 +0200
committerRemi Collet <remi@php.net>2015-05-21 14:03:18 +0200
commitc3d983f3af509655951bb659e360c69ba9bf7188 (patch)
treeda5e660f4c8f9334c63e44dcaf330064dc838a9c
parentc507c533bd1c34f1c71b4ffd5f14869776533cc3 (diff)
downloadphp-git-c3d983f3af509655951bb659e360c69ba9bf7188.tar.gz
Make the phar symlink relative
or we got a symlink pointing to the build files thanks also to remicollet
-rw-r--r--ext/phar/Makefile.frag2
1 files changed, 1 insertions, 1 deletions
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