summaryrefslogtreecommitdiff
path: root/xmlhelp/source
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2009-11-23 09:38:29 +0000
committerMathias Bauer <mba@openoffice.org>2009-11-23 09:38:29 +0000
commitc840d57f8e2986cebd7c99605ebeb93187d86012 (patch)
treed5d7377d44515931f5426d231e98805c6a19278b /xmlhelp/source
parentcc30aec49de53ef46ce0ec362e9b145558bd63c3 (diff)
#i104338#: fix build without Java
Diffstat (limited to 'xmlhelp/source')
-rw-r--r--xmlhelp/source/com/sun/star/help/makefile.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmlhelp/source/com/sun/star/help/makefile.mk b/xmlhelp/source/com/sun/star/help/makefile.mk
index db6e619b31..ad589a1a98 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
@@ -106,3 +107,7 @@ 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