root/gsdl/trunk/trunk/lucene-gs/Makefile @ 16583

Revision 16583, 0.5 KB (checked in by davidb, 11 years ago)

Undoing change commited in r16582

  • Property svn:keywords set to Author Date Id Revision
Line 
1LUCENE_JAR = ./lib/lucene-core-2.3.2.jar
2CLASSPATH = $(LUCENE_JAR):classes
3
4all: compile jar
5
6compile:
7    mkdir -p classes
8    javac -classpath $(CLASSPATH):. -d classes -sourcepath src/ src/org/greenstone/LuceneWrapper/*.java
9
10jar:
11    cd classes && jar xf ../$(LUCENE_JAR)
12    jar cvf LuceneWrapper.jar -C classes .
13
14install:
15
16clean:
17    /bin/rm -f classes/org/greenstone/LuceneWrapper/*.class
18
19distclean: clean
20    if test -e classes; then /bin/rm -r classes; fi
21    if test -e LuceneWrapper.jar; then /bin/rm -r LuceneWrapper.jar; fi
Note: See TracBrowser for help on using the browser.