[Libreoffice-commits] .: Branch 'libreoffice-3-4' - scripting/util
David Tardon
dtardon at kemper.freedesktop.org
Tue May 24 00:12:40 PDT 2011
scripting/util/provider/beanshell/makefile.mk | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit e7ade84f6a66f8a915da70f486f70cb894bb9775
Author: David Tardon <dtardon at redhat.com>
Date: Mon May 23 11:32:44 2011 +0200
do not include bsh.jar when building with system bsh
Signed-off-by: Tor Lillqvist <tlillqvist at novell.com>
Signed-off-by: Norbert Thiebaud <nthiebaud at gmail.com>
diff --git a/scripting/util/provider/beanshell/makefile.mk b/scripting/util/provider/beanshell/makefile.mk
index 1f70fcb..a7c74f5 100755
--- a/scripting/util/provider/beanshell/makefile.mk
+++ b/scripting/util/provider/beanshell/makefile.mk
@@ -36,7 +36,9 @@ EXTENSIONNAME:=ScriptProviderForBeanShell
EXTENSION_ZIPNAME:=script-provider-for-beanshell
COMPONENT_JARFILES=$(EXTENSIONDIR)$/$(EXTENSIONNAME).jar
+.IF "$(SYSTEM_BSH)" != "YES"
EXTENSION_PACKDEPS=$(SOLARBINDIR)$/bsh.jar
+.ENDIF
.IF "$(ENABLE_SCRIPTING_BEANSHELL)" != "YES"
@all:
@@ -47,12 +49,16 @@ EXTENSION_PACKDEPS=$(SOLARBINDIR)$/bsh.jar
.INCLUDE : target.mk
.INCLUDE : extension_post.mk
+.IF "$(SYSTEM_BSH)" != "YES"
+
ALLTAR : $(EXTENSIONDIR)$/bsh.jar
$(EXTENSIONDIR)$/bsh.jar : $(SOLARBINDIR)$/bsh.jar
@@-$(MKDIRHIER) $(@:d)
$(COMMAND_ECHO)$(COPY) $< $@
+.ENDIF
+
.ELSE
.INCLUDE : target.mk
More information about the Libreoffice-commits
mailing list