source: trunk/gsdl/src/java/org/nzdl/gsdl/LuceneWrap/Makefile@ 12242

Last change on this file since 12242 was 12242, checked in by mdewsnip, 18 years ago

Added "-p" to the mkdir command so it doesn't die if the directory already exists.

  • Property svn:keywords set to Author Date Id Revision
File size: 563 bytes
Line 
1
2
3#CLASSPATH = ./lib/lucene-1.4.jar:./lib/soap.jar:./lib/xercesImpl.jar:./lib/xalan.jar:./lib/xml-apis.jar
4CLASSPATH = ./lib/lucene-1.4.1.jar:classes
5
6
7compile:
8 mkdir -p classes
9 javac -classpath $(CLASSPATH):. -d classes *.java
10
11jar:
12 cd classes && jar xf ../lib/lucene-1.4.1.jar
13 jar cvf LuceneWrap.jar -C classes .
14
15install:
16 install LuceneWrap.jar ../../../../../../bin/java/.
17
18build:
19 java -classpath $(CLASSPATH):. BuildXMLColl `pwd` test
20
21search:
22 java -classpath $(CLASSPATH):. Search `pwd`/collect/test/building/idx
23
24clean:
25 /bin/rm -f classes/*.class
26
Note: See TracBrowser for help on using the repository browser.