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
commit55a6583623008179f51a01416e5a3eef885835c2 (patch)
tree0c5a519ad939d7a2fe5849ce91f89e4687225dfc /xmlhelp
parente7f2e7c26b6f53e86e48d4cfa3e45d59252c39f0 (diff)
parent121fdea1bf20434091bf1f862be5611dfddd83ae (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 8ba5d9a3a9a0..eab2a6a08a4d 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