2 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License or as specified alternatively below. You may obtain a copy of
7 # the License at http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
14 # The Initial Developer of the Original Code is
15 # Peter Foley <pefoley2@verizon.net>
16 # Portions created by the Initial Developer are Copyright (C) 2011 the
17 # Initial Developer. All Rights Reserved.
19 # Major Contributor(s):
21 # For minor contributions see the git repository.
23 # Alternatively, the contents of this file may be used under the terms of
24 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
25 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
26 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
27 # instead of those above.
30 WIKISRC
:= $(SRCDIR
)/swext
/mediawiki
32 $(eval
$(call gb_Zip_Zip
,mediawiki_develop
,$(WORKDIR
)/Zip
/mediawiki_develop
))
34 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,Addons.xcu
,$(WIKISRC
)/src
/registry
/data
/org
/openoffice
/Office
/Addons.xcu
))
35 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,Filter.xcu
,$(WIKISRC
)/src
/registry
/data
/org
/openoffice
/TypeDetection
/Filter.xcu
))
36 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,OptionsDialog.xcu
,$(WIKISRC
)/src
/registry
/data
/org
/openoffice
/Office
/OptionsDialog.xcu
))
37 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,Paths.xcu
,$(WIKISRC
)/src
/registry
/data
/org
/openoffice
/Office
/Paths.xcu
))
38 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,ProtocolHandler.xcu
,$(WIKISRC
)/src
/registry
/data
/org
/openoffice
/Office
/ProtocolHandler.xcu
))
39 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,Types.xcu
,$(WIKISRC
)/src
/registry
/data
/org
/openoffice
/TypeDetection
/Types.xcu
))
40 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,WikiExtension.xcs
,$(WIKISRC
)/src
/registry
/schema
/org
/openoffice
/Office
/Custom
/WikiExtension.xcs
))
41 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,WikiExtension.xcu
,$(WIKISRC
)/src
/registry
/data
/org
/openoffice
/Office
/Custom
/WikiExtension.xcu
))
42 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,description.xml
,$(WIKISRC
)/src
/description.xml
))
43 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,mediawiki.jar
,$(OUTDIR
)/bin
/mediawiki.jar
))
44 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,META-INF
/manifest.xml
,$(WIKISRC
)/src
/manifest.xml
))
45 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,WikiEditor
/EditSetting.xdl
,$(WIKISRC
)/dialogs
/EditSetting.xdl
))
46 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,WikiEditor
/Settings.xdl
,$(WIKISRC
)/dialogs
/Settings.xdl
))
47 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,WikiEditor
/Module1.xba
,$(WIKISRC
)/dialogs
/Module1.xba
))
48 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,WikiEditor
/script.xlb
,$(WIKISRC
)/dialogs
/script.xlb
))
49 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,WikiEditor
/dialog.xlb
,$(WIKISRC
)/dialogs
/dialog.xlb
))
50 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,WikiEditor
/SendToMediaWiki.xdl
,$(WIKISRC
)/dialogs
/SendToMediaWiki.xdl
))
51 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,filter/odt2mediawiki.xsl
,$(WIKISRC
)/src
/filter/odt2mediawiki.xsl
))
52 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,component.txt
,$(WIKISRC
)/src
/component.txt
))
53 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,help
/en-US
/com.sun.wiki-publisher
/wikisend.xhp
,$(WIKISRC
)/help
/wikisend.xhp
))
54 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,help
/en-US
/com.sun.wiki-publisher
/wikiformats.xhp
,$(WIKISRC
)/help
/wikiformats.xhp
))
55 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,help
/en-US
/com.sun.wiki-publisher
/wikiaccount.xhp
,$(WIKISRC
)/help
/wikiaccount.xhp
))
56 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,help
/en-US
/com.sun.wiki-publisher
/wiki.xhp
,$(WIKISRC
)/help
/wiki.xhp
))
57 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,help
/en-US
/com.sun.wiki-publisher
/wikisettings.xhp
,$(WIKISRC
)/help
/wikisettings.xhp
))
58 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,license
/THIRDPARTYLICENSEREADME.html
,$(WIKISRC
)/src
/THIRDPARTYLICENSEREADME.html
))
59 $(eval
$(call gb_Zip_add_file
,mediawiki_develop
,templates
/MediaWiki
/mediawiki.ott
,$(WIKISRC
)/src
/filter/mediawiki.ott
))