source: indexers/trunk/lucene-gs/Makefile@ 16528

Last change on this file since 16528 was 16412, checked in by mdewsnip, 14 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 
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 repository browser.