summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-07-07 15:06:09 +0000
committerRüdiger Timm <rt@openoffice.org>2008-07-07 15:06:09 +0000
commitaba2219a4a544407705a558e1a6982b68cd75813 (patch)
tree487a0bfa45add85efc23fa862ac7d52a75eda3f3 /xmlhelp
parentb3e278121c3bbf6cc0b99a346160ceb2c8b85fe6 (diff)
INTEGRATION: CWS ab55 (1.36.2); FILE MERGED
2008/07/02 13:12:02 ab 1.36.2.1: #i91158# System lucene
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/com/sun/star/help/makefile.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/xmlhelp/source/com/sun/star/help/makefile.mk b/xmlhelp/source/com/sun/star/help/makefile.mk
index 09e59cc3cc24..76e5a7619486 100644
--- a/xmlhelp/source/com/sun/star/help/makefile.mk
+++ b/xmlhelp/source/com/sun/star/help/makefile.mk
@@ -8,7 +8,7 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.36 $
+# $Revision: 1.37 $
#
# This file is part of OpenOffice.org.
#
@@ -100,7 +100,12 @@ JAVACLASSFILES = \
$(CLASSDIR)$/$(PACKAGE)$/HelpIndexer.class \
$(CLASSDIR)$/$(PACKAGE)$/HelpFileDocument.class
-JARFILES = lucene-core-2.3.jar ridl.jar jurt.jar unoil.jar juh.jar
+JARFILES = ridl.jar jurt.jar unoil.jar juh.jar
+.IF "$(SYSTEM_LUCENE)" == "YES"
+XCLASSPATH!:=$(XCLASSPATH)$(PATH_SEPERATOR)$(LUCENE_CORE_JAR)
+.ELSE
+JARFILES += lucene-core-2.3.jar
+.ENDIF
JAVAFILES = $(subst,$(CLASSDIR)$/$(PACKAGE)$/, $(subst,.class,.java $(JAVACLASSFILES)))
JARTARGET = LuceneHelpWrapper.jar