[sword-cvs] sword/bindings/corba/java Makefile,1.5,1.6
sword@www.crosswire.org
sword@www.crosswire.org
Tue, 2 Mar 2004 22:18:01 -0700
Update of /cvs/core/sword/bindings/corba/java
In directory www:/tmp/cvs-serv20749
Modified Files:
Makefile
Log Message:
extracted variables
Index: Makefile
===================================================================
RCS file: /cvs/core/sword/bindings/corba/java/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Makefile 24 Oct 2003 02:43:46 -0000 1.5
+++ Makefile 3 Mar 2004 05:17:59 -0000 1.6
@@ -1,10 +1,12 @@
+instbase=/var/tomcat
+webapp=swordweb
all: src/org/crosswire/sword/orb/SWMgr.java classes/org/crosswire/sword/orb/SwordOrb.class
src/org/crosswire/sword/orb/SWMgr.java: ../swordorb.idl
idlj -pkgTranslate swordorb org.crosswire.sword.orb -td src ../swordorb.idl
classes/org/crosswire/sword/orb/SwordOrb.class: src/org/crosswire/sword/orb/SwordOrb.java
- javac -classpath /var/tomcat/common/lib/servlet-api.jar -d classes -sourcepath src src/org/crosswire/sword/orb/*.java src/org/crosswire/util/*.java
+ javac -classpath ${instbase}/common/lib/servlet-api.jar -d classes -sourcepath src src/org/crosswire/sword/orb/*.java src/org/crosswire/util/*.java
clean:
@@ -16,4 +18,4 @@
rm -rf classes/*
install:
- cp -a classes/org/ /var/tomcat/webapps/swordweb/WEB-INF/classes/
+ cp -a classes/org/ ${instbase}/webapps/${webapp}/WEB-INF/classes/