Kaydet (Commit) 687a821e authored tarafından Julien Nabet's avatar Julien Nabet Kaydeden (comit) David Tardon

fdo#63197: convert 3 out 4 from scripting part

Change-Id: Ie359d0ef00f62dd3c2d1f1dfd86e115409438e76
Reviewed-on: https://gerrit.libreoffice.org/3470Reviewed-by: 's avatarDavid Tardon <dtardon@redhat.com>
Tested-by: 's avatarDavid Tardon <dtardon@redhat.com>
üst 4069417b
......@@ -65,9 +65,10 @@ End
#ifndef DISABLE_SCRIPTING
File gid_File_Basic_Scriptbindinglib
Dir = gid_Dir_Basic_Scriptbindinglib;
ARCHIVE_TXT_FILE_BODY;
Name = "scriptbindinglib.zip";
Dir = FILELIST_DIR;
TXT_FILE_BODY;
Styles = (FILELIST);
Name = "scripting_scriptbindinglib.filelist";
End
#endif
......@@ -766,17 +767,19 @@ End
#ifndef WITHOUT_SCRIPTING_BEANSHELL
File gid_File_Scripts_Beanshell
Dir = gid_Dir_Share_Scripts;
ARCHIVE_TXT_FILE_BODY;
Name = "ScriptsBeanShell.zip";
Dir = FILELIST_DIR;
TXT_FILE_BODY;
Styles = (FILELIST);
Name = "scripting_ScriptsBeanShell.filelist";
End
#endif
#ifndef WITHOUT_SCRIPTING_JAVASCRIPT
File gid_File_Scripts_Javascript
Dir = gid_Dir_Share_Scripts;
ARCHIVE_TXT_FILE_BODY;
Name = "ScriptsJavaScript.zip";
Dir = FILELIST_DIR;
TXT_FILE_BODY;
Styles = (FILELIST);
Name = "scripting_ScriptsJavaScript.filelist";
End
#endif
#endif
......
......@@ -144,10 +144,10 @@ End
//Scripting Framework Python example scripts
File gid_File_Scripts_Python
Dir = FILELIST_DIR;
TXT_FILE_BODY;
Styles = (ARCHIVE);
Dir = gid_Dir_Share_Scripts;
Name = "ScriptsPython.zip";
Styles = (FILELIST);
Name = "scripting_ScriptsPython.filelist";
End
// Scripting Framework Python configuration settings
......
......@@ -47,7 +47,11 @@ $(eval $(call gb_Module_add_targets,scripting,\
) \
Zip_ScriptsJava \
) \
Package_scriptbindinglib \
Package_scriptproviderforpython \
Package_ScriptsBeanShell \
Package_ScriptsJavaScript \
Package_ScriptsPython \
Library_basprov \
Library_dlgprov \
Library_protocolhandler \
......@@ -55,10 +59,6 @@ $(eval $(call gb_Module_add_targets,scripting,\
Library_stringresource \
Library_vbaevents \
Pyuno_mailmerge \
Zip_scriptbindinglib \
Zip_ScriptsBeanShell \
Zip_ScriptsJavaScript \
Zip_ScriptsPython \
))
endif
......
......@@ -26,9 +26,11 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Zip_Zip,ScriptsBeanShell,$(SRCDIR)/scripting/examples))
$(eval $(call gb_Package_Package,scripting_ScriptsBeanShell,$(SRCDIR)/scripting/examples))
$(eval $(call gb_Zip_add_files,ScriptsBeanShell,\
$(eval $(call gb_Package_set_outdir,scripting_ScriptsBeanShell,$(INSTDIR)))
$(eval $(call gb_Package_add_files_with_dir,scripting_ScriptsBeanShell,share/Scripts,\
beanshell/Capitalise/capitalise.bsh \
beanshell/Capitalise/parcel-descriptor.xml \
beanshell/HelloWorld/helloworld.bsh \
......
......@@ -26,9 +26,11 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Zip_Zip,ScriptsJavaScript,$(SRCDIR)/scripting/examples))
$(eval $(call gb_Package_Package,scripting_ScriptsJavaScript,$(SRCDIR)/scripting/examples))
$(eval $(call gb_Zip_add_files,ScriptsJavaScript,\
$(eval $(call gb_Package_set_outdir,scripting_ScriptsJavaScript,$(INSTDIR)))
$(eval $(call gb_Package_add_files_with_dir,scripting_ScriptsJavaScript,share/Scripts,\
javascript/ExportSheetsToHTML/exportsheetstohtml.js \
javascript/ExportSheetsToHTML/parcel-descriptor.xml \
javascript/HelloWorld/helloworld.js \
......
......@@ -26,9 +26,11 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Zip_Zip,ScriptsPython,$(SRCDIR)/scripting/examples))
$(eval $(call gb_Package_Package,scripting_ScriptsPython,$(SRCDIR)/scripting/examples))
$(eval $(call gb_Zip_add_files,ScriptsPython,\
$(eval $(call gb_Package_set_outdir,scripting_ScriptsPython,$(INSTDIR)))
$(eval $(call gb_Package_add_files_with_dir,Scripting_ScriptsPython,share/Scripts,\
python/Capitalise.py \
python/HelloWorld.py \
python/pythonSamples/TableSample.py \
......
......@@ -26,9 +26,11 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Zip_Zip,scriptbindinglib,$(SRCDIR)/scripting/workben/bindings))
$(eval $(call gb_Package_Package,scripting_scriptbindinglib,$(SRCDIR)/scripting/workben/bindings))
$(eval $(call gb_Zip_add_files,scriptbindinglib,\
$(eval $(call gb_Package_set_outdir,scripting_scriptbindinglib,$(INSTDIR)))
$(eval $(call gb_Package_add_files,scripting_scriptbindinglib,share/basic/ScriptBindingLibrary,\
Highlight.xdl \
dialog.xlb \
script.xlb \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment