summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2009-12-11 17:56:47 +0100
committerVladimir Glazunov <vg@openoffice.org>2009-12-11 17:56:47 +0100
commit4ca29e5126894470497e40af83588c08c57cdd8f (patch)
treee3f3282ebfbbe2bf9bcacc2df16896a107caac62 /xmlhelp
parentbb468adde704e0f9feb16e6e62c7bfd3e4be57bf (diff)
parentc840d57f8e2986cebd7c99605ebeb93187d86012 (diff)
CWS-TOOLING: integrate CWS fwk129_DEV300
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/com/sun/star/help/makefile.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/xmlhelp/source/com/sun/star/help/makefile.mk b/xmlhelp/source/com/sun/star/help/makefile.mk
index 8ba5d9a3a9..eab2a6a08a 100644
--- a/xmlhelp/source/com/sun/star/help/makefile.mk
+++ b/xmlhelp/source/com/sun/star/help/makefile.mk
@@ -36,6 +36,7 @@ LIBBASENAME = helplinker
PACKAGE = com$/sun$/star$/help
TARGETTYPE=CUI
+.IF "$(SOLAR_JAVA)"!=""
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
@@ -100,3 +101,12 @@ $(JARTARGETN) : $(ADDFILES)
$(CLASSDIR)$/$(PACKAGE)$/%.class : $(SOLARBINDIR)$/help$/$(PACKAGE)$/%.class
$(MKDIRHIER) $(@:d)
$(COPY) $< $@
+
+fix_system_lucene:
+ @echo "Fix Java Class-Path entry for Lucene libraries from system."
+ @$(SED) -r -e "s#^(Class-Path:).*#\1 file://$(LUCENE_CORE_JAR) file://$(LUCENE_ANALYZERS_JAR)#" \
+ -i ../../../../../$(INPATH)/class/HelpLinker/META-INF/MANIFEST.MF
+.ELSE
+all:
+ @echo java disabled
+.ENDIF