Author: wyoung
Date: Mon Feb 27 16:42:03 2006
New Revision: 1177
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1177&view=rev
Log:
Rudimentary "make install" support. DO NOT USE ON CRITICAL SYSTEMS. It
doesn't handle libtool-like library versioning yet.
Modified:
branches/v2.1-bakefile/lib/lib.bkl
branches/v2.1-bakefile/mysql++.bkl
Modified: branches/v2.1-bakefile/lib/lib.bkl
URL:
http://svn.gna.org/viewcvs/mysqlpp/branches/v2.1-bakefile/lib/lib.bkl?rev=1177&r1=1176&r2=1177&view=diff
==============================================================================
--- branches/v2.1-bakefile/lib/lib.bkl (original)
+++ branches/v2.1-bakefile/lib/lib.bkl Mon Feb 27 16:42:03 2006
@@ -1,6 +1,7 @@
<?xml version="1.0"?>
<makefile>
<include file="../common.bkl"/>
+ <using module="datafiles"/>
<dll id="mysqlpp">
<sources>coldata.cpp connection.cpp datetime.cpp field_names.cpp
@@ -18,7 +19,14 @@
<lib-path>c:\mysql\lib\opt</lib-path>
<sys-lib>libmysql</sys-lib>
</if>
+
+ <install-to>$(LIBDIR)</install-to>
</dll>
+
+ <data-files>
+ <files>*.h</files>
+ <install-to>$(PREFIX)/include/mysql++</install-to>
+ </data-files>
<action id="custom.h">
<command>./custom.pl</command>
Modified: branches/v2.1-bakefile/mysql++.bkl
URL:
http://svn.gna.org/viewcvs/mysqlpp/branches/v2.1-bakefile/mysql%2B%2B.bkl?rev=1177&r1=1176&r2=1177&view=diff
==============================================================================
--- branches/v2.1-bakefile/mysql++.bkl (original)
+++ branches/v2.1-bakefile/mysql++.bkl Mon Feb 27 16:42:03 2006
@@ -12,4 +12,11 @@
<installable>no</installable>
<dependency-of>all</dependency-of>
</subproject>
+
+ <if cond="FORMAT=='autoconf'">
+ <action id="install-lib">
+ <command>cd lib && $(DOLLAR)(MAKE)
install</command>
+ <dependency-of>install</dependency-of>
+ </action>
+ </if>
</makefile>
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits