List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:November 28 2007 9:59pm
Subject:Rev 314: Added rule for installing jar files. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/devel
View as plain text  
At http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/devel

------------------------------------------------------------
revno: 314
revision-id: mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: devel
timestamp: Wed 2007-11-28 13:58:53 -0800
message:
  Added rule for installing jar files.
modified:
  java/Makefile.am               makefile.am-20070415032352-9dpe6aurqcnuwcrd-1
=== modified file 'java/Makefile.am'
--- a/java/Makefile.am	2007-11-27 09:56:10 +0000
+++ b/java/Makefile.am	2007-11-28 21:58:53 +0000
@@ -333,3 +333,9 @@
 
 check-local: all-am
 	$(JAVA) -Djava.library.path=$(builddir)/.libs 
-Dcom.mysql.jdbc.testsuite.url=jdbc:mysql://localhost/test -classpath
$(builddir):$(builddir)/lib/mysql-connector-java-5.0.4-bin.jar:$(builddir)/lib/junit.jar 
junit.textui.TestRunner testsuite.ndbj.AllTests
+
+install-exec-local: ndbj.jar mgmj.jar
+	mkdir -p $(DESTDIR)$(datadir)/java
+	cp ndbj.jar $(DESTDIR)$(datadir)/java/ndbj-$(PACKAGE_VERSION).jar
+	cp mgmj.jar $(DESTDIR)$(datadir)/java/mgmj-$(PACKAGE_VERSION).jar
+	( cd $(DESTDIR)$(datadir)/java ; ln -s ndbj-$(PACKAGE_VERSION).jar ndbj.jar ; ln -sf
mgmj-$(PACKAGE_VERSION).jar mgmj.jar ) 

Thread
Rev 314: Added rule for installing jar files. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/develMonty Taylor29 Nov