Last change
on this file since 16528 was 16412, checked in by mdewsnip, 16 years ago |
Upgraded from Lucene 2.0.0 to Lucene 2.3.2, mainly to get the updateDocument() and deleteDocument() functions (for incremental building), but also for all the bug fixes and efficiency improvements made to Lucene since version 2.0.0.
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
518 bytes
|
Line | |
---|
1 | LUCENE_JAR = ./lib/lucene-core-2.3.2.jar
|
---|
2 | CLASSPATH = $(LUCENE_JAR):classes
|
---|
3 |
|
---|
4 | all: compile jar
|
---|
5 |
|
---|
6 | compile:
|
---|
7 | mkdir -p classes
|
---|
8 | javac -classpath $(CLASSPATH):. -d classes -sourcepath src/ src/org/greenstone/LuceneWrapper/*.java
|
---|
9 |
|
---|
10 | jar:
|
---|
11 | cd classes && jar xf ../$(LUCENE_JAR)
|
---|
12 | jar cvf LuceneWrapper.jar -C classes .
|
---|
13 |
|
---|
14 | install:
|
---|
15 |
|
---|
16 | clean:
|
---|
17 | /bin/rm -f classes/org/greenstone/LuceneWrapper/*.class
|
---|
18 |
|
---|
19 | distclean: 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 repository browser.