helly           Sat May 31 20:02:57 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/phar   Makefile.frag 
    /php-src    configure.in 
  Log:
  - Add phar command as installable command
  
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/Makefile.frag?r1=1.14&r2=1.14.2.1&diff_format=u
Index: php-src/ext/phar/Makefile.frag
diff -u php-src/ext/phar/Makefile.frag:1.14 
php-src/ext/phar/Makefile.frag:1.14.2.1
--- php-src/ext/phar/Makefile.frag:1.14 Wed Jan  9 00:58:36 2008
+++ php-src/ext/phar/Makefile.frag      Sat May 31 20:02:57 2008
@@ -23,3 +23,7 @@
        $$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
+       [EMAIL PROTECTED](mkinstalldirs) $(INSTALL_ROOT)$(bindir)
+       @$(INSTALL) $(builddir)/phar.phar $(INSTALL_ROOT)$(bindir)
+
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.77.2.17&r2=1.579.2.52.2.77.2.18&diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.579.2.52.2.77.2.17 
php-src/configure.in:1.579.2.52.2.77.2.18
--- php-src/configure.in:1.579.2.52.2.77.2.17   Sat May 31 19:27:31 2008
+++ php-src/configure.in        Sat May 31 20:02:57 2008
@@ -1,4 +1,4 @@
-## $Id: configure.in,v 1.579.2.52.2.77.2.17 2008/05/31 19:27:31 helly Exp $ 
-*- autoconf -*-
+## $Id: configure.in,v 1.579.2.52.2.77.2.18 2008/05/31 20:02:57 helly Exp $ 
-*- autoconf -*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -1350,12 +1350,14 @@
 
 if test "$PHP_PHAR" != "no" && test "$PHP_CLI" != "no"; then
   PHARCMD=pharcmd
+  PHARCMD_INSTALL=install-pharcmd
 else
   PHARCMD=
+  PHARCMD_INSTALL=
 fi;
 
 all_targets="$lcov_target \$(OVERALL_TARGET) \$(PHP_MODULES) \$(PHP_ZEND_EX) 
\$(PHP_CLI_TARGET) $PHARCMD"
-install_targets="$install_modules install-build install-headers 
install-programs $install_pear"
+install_targets="$install_modules install-build install-headers 
install-programs $install_pear $PHARCMD_INSTALL"
 
 case $PHP_SAPI in
   cli)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to