Last change
on this file since 13804 was 13804, checked in by kjdon, 17 years ago |
remove the jar file on distclean
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
518 bytes
|
Rev | Line | |
---|
[13685] | 1 | LUCENE_JAR = ./lib/lucene-core-2.0.0.jar
|
---|
| 2 | CLASSPATH = $(LUCENE_JAR):classes
|
---|
| 3 |
|
---|
[13702] | 4 | all: compile jar
|
---|
[13685] | 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 |
|
---|
[13702] | 14 | install:
|
---|
[13685] | 15 |
|
---|
| 16 | clean:
|
---|
| 17 | /bin/rm -f classes/org/greenstone/LuceneWrapper/*.class
|
---|
[13702] | 18 |
|
---|
| 19 | distclean: clean
|
---|
[13803] | 20 | if test -e classes; then /bin/rm -r classes; fi
|
---|
[13804] | 21 | if test -e LuceneWrapper.jar; then /bin/rm -r LuceneWrapper.jar; fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.