cvs: pear /CodeGen_MySQL/MySQL Extension.php
| From: | Hartmut Holzgraefe | Date: | Thu, 15 Jun 2006 20:48:56 +0000 |
| Subject: | cvs: pear /CodeGen_MySQL/MySQL Extension.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-40730@lists.php.net to get a copy of this message | ||
hholzgra Thu Jun 15 20:48:56 2006 UTC
Modified files:
/pear/CodeGen_MySQL/MySQL Extension.php
Log:
installation libdir now settable
http://cvs.php.net/viewcvs.cgi/pear/CodeGen_MySQL/MySQL/Extension.php?r1=1.10&r2=1.11&diff_format=u
Index: pear/CodeGen_MySQL/MySQL/Extension.php
diff -u pear/CodeGen_MySQL/MySQL/Extension.php:1.10 pear/CodeGen_MySQL/MySQL/Extension.php:1.11
--- pear/CodeGen_MySQL/MySQL/Extension.php:1.10 Thu May 25 19:19:11 2006
+++ pear/CodeGen_MySQL/MySQL/Extension.php Thu Jun 15 20:48:56 2006
@@ -15,7 +15,7 @@
* @author Hartmut Holzgraefe <hartmut@php.net>
* @copyright 2005 Hartmut Holzgraefe
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Extension.php,v 1.10 2006/05/25 19:19:11 hholzgra Exp $
+ * @version CVS: $Id: Extension.php,v 1.11 2006/06/15 20:48:56 hholzgra Exp $
* @link http://pear.php.net/package/CodeGen_MySQL_UDF
*/
@@ -61,6 +61,13 @@
*/
protected $testcases = array();
+ /**
+ * Custom library install dir
+ *
+ * @var string
+ */
+ protected $libdir = "";
+
// {{{ constructor
/**
@@ -306,6 +313,9 @@
// Makefile.am
$makefile = new CodeGen_Tools_Outbuf($this->dirpath."/Makefile.am");
+ if (!empty($this->libdir)) {
+ echo "libdir={$this->libdir}\n";
+ }
echo "lib_LTLIBRARIES = {$this->name}.la\n";
echo "{$this->name}_la_CFLAGS = @MYSQL_CFLAGS@\n";
echo "{$this->name}_la_CXXFLAGS = @MYSQL_CFLAGS@\n";
@@ -318,7 +328,7 @@
}
echo "\n";
echo "test: all\n";
- echo "\tcd tests; ./test.sh\n";
+ echo "\tcd tests; ./test.sh\n";
$makefile->write();
@@ -413,6 +423,7 @@
/**
* Create test files
*
+ * @void
*/
function writeTests()
{