summaryrefslogtreecommitdiff
path: root/ext/phar/Makefile.frag
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2008-05-31 20:02:57 +0000
committerMarcus Boerger <helly@php.net>2008-05-31 20:02:57 +0000
commit631484e2c7cb607701e77a4aae6f5656dae84c94 (patch)
treeeaec23b64524fa5f5eabc858e5ba95f5e78bf743 /ext/phar/Makefile.frag
parentae0ee180ac75c44dbdf06be900c4f714258f8bbd (diff)
downloadphp-git-631484e2c7cb607701e77a4aae6f5656dae84c94.tar.gz
- Add phar command as installable command
Diffstat (limited to 'ext/phar/Makefile.frag')
-rwxr-xr-xext/phar/Makefile.frag4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/phar/Makefile.frag b/ext/phar/Makefile.frag
index d693e8dd86..1fc1673875 100755
--- a/ext/phar/Makefile.frag
+++ b/ext/phar/Makefile.frag
@@ -23,3 +23,7 @@ $(builddir)/phar.phar: $(builddir)/phar.php $(srcdir)/phar/*.inc $(srcdir)/phar/
$$PHP -d phar.readonly=0 $(srcdir)/phar.php pack -f $(builddir)/phar.phar -a pharcommand -c auto -x CVS -p 0 -s $(srcdir)/phar/phar.php -h sha1 -b "$$BANG" $(srcdir)/phar/
@chmod +x $(builddir)/phar.phar
+install-pharcmd: pharcmd
+ -@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir)
+ @$(INSTALL) $(builddir)/phar.phar $(INSTALL_ROOT)$(bindir)
+