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

Last change on this file since 13803 was 13803, checked in by kjdon, 15 years ago

in distclean, check existence of classes before deleting

  • Property svn:keywords set to Author Date Id Revision
File size: 449 bytes
Line 
1LUCENE_JAR = ./lib/lucene-core-2.0.0.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
Note: See TracBrowser for help on using the repository browser.