cvs: php-src(PHP_5_3) / configure.in /ext/phar Makefile.frag
| From: | Marcus Boerger | Date: | Sat, 31 May 2008 20:02:57 +0000 |
| Subject: | cvs: php-src(PHP_5_3) / configure.in /ext/phar Makefile.frag | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-50217@lists.php.net to get a copy of this message | ||
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
+ -@$(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)