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_Extension_Extension
,wiki-publisher
,swext
/mediawiki
/src
))
34 ifneq ($(SYSTEM_APACHE_COMMONS
),YES
)
35 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,commons-codec-1.3.jar
,$(OUTDIR
)/bin
/commons-codec-1.3.jar
))
36 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,commons-httpclient-3.1.jar
,$(OUTDIR
)/bin
/commons-httpclient-3.1.jar
))
37 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,commons-lang-2.3.jar
,$(OUTDIR
)/bin
/commons-lang-2.3.jar
))
38 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,commons-logging-1.1
.1.jar
,$(OUTDIR
)/bin
/commons-logging-1.1
.1.jar
))
40 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,Addons.xcu
,$(WORKDIR
)/XcuMergeTarget
/swext
/mediawiki
/src
/registry
/data
/org
/openoffice
/Office
/Addons.xcu
))
41 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,Filter.xcu
,$(WIKISRC
)/src
/registry
/data
/org
/openoffice
/TypeDetection
/Filter.xcu
))
42 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,OptionsDialog.xcu
,$(WORKDIR
)/XcuMergeTarget
/swext
/mediawiki
/src
/registry
/data
/org
/openoffice
/Office
/OptionsDialog.xcu
))
43 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,Paths.xcu
,$(WIKISRC
)/src
/registry
/data
/org
/openoffice
/Office
/Paths.xcu
))
44 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,ProtocolHandler.xcu
,$(WIKISRC
)/src
/registry
/data
/org
/openoffice
/Office
/ProtocolHandler.xcu
))
45 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,Types.xcu
,$(WIKISRC
)/src
/registry
/data
/org
/openoffice
/TypeDetection
/Types.xcu
))
46 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,WikiExtension.xcs
,$(WIKISRC
)/src
/registry
/schema
/org
/openoffice
/Office
/Custom
/WikiExtension.xcs
))
47 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,WikiExtension.xcu
,$(WORKDIR
)/XcuMergeTarget
/swext
/mediawiki
/src
/registry
/data
/org
/openoffice
/Office
/Custom
/WikiExtension.xcu
))
48 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,mediawiki.jar
,$(OUTDIR
)/bin
/mediawiki.jar
))
49 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,components.rdb
,$(WIKISRC
)/src
/components.rdb
))
50 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,WikiEditor
/EditSetting.xdl
,$(WIKISRC
)/dialogs
/EditSetting.xdl
))
51 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,WikiEditor
/Settings.xdl
,$(WIKISRC
)/dialogs
/Settings.xdl
))
52 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,WikiEditor
/Module1.xba
,$(WIKISRC
)/dialogs
/Module1.xba
))
53 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,WikiEditor
/script.xlb
,$(WIKISRC
)/dialogs
/script.xlb
))
54 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,WikiEditor
/dialog.xlb
,$(WIKISRC
)/dialogs
/dialog.xlb
))
55 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,WikiEditor
/SendToMediaWiki.xdl
,$(WIKISRC
)/dialogs
/SendToMediaWiki.xdl
))
56 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,filter/odt2mediawiki.xsl
,$(WIKISRC
)/src
/filter/odt2mediawiki.xsl
))
57 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,help
/en-US
/com.sun.wiki-publisher
/wikisend.xhp
,$(WIKISRC
)/help
/wikisend.xhp
))
58 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,help
/en-US
/com.sun.wiki-publisher
/wikiformats.xhp
,$(WIKISRC
)/help
/wikiformats.xhp
))
59 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,help
/en-US
/com.sun.wiki-publisher
/wikiaccount.xhp
,$(WIKISRC
)/help
/wikiaccount.xhp
))
60 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,help
/en-US
/com.sun.wiki-publisher
/wiki.xhp
,$(WIKISRC
)/help
/wiki.xhp
))
61 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,help
/en-US
/com.sun.wiki-publisher
/wikisettings.xhp
,$(WIKISRC
)/help
/wikisettings.xhp
))
62 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,license
/THIRDPARTYLICENSEREADME.html
,$(WIKISRC
)/src
/THIRDPARTYLICENSEREADME.html
))
63 $(eval
$(call gb_Extension_add_file
,wiki-publisher
,templates
/MediaWiki
/mediawiki.ott
,$(WIKISRC
)/src
/filter/mediawiki.ott
))
64 $(eval
$(call gb_Extension_localize_help
,wiki-publisher
,help
/lang
/com.sun.wiki-publisher
/wikisend.xhp
,$(WIKISRC
)/help
/wikisend.xhp
))
65 $(eval
$(call gb_Extension_localize_help
,wiki-publisher
,help
/lang
/com.sun.wiki-publisher
/wikiformats.xhp
,$(WIKISRC
)/help
/wikiformats.xhp
))
66 $(eval
$(call gb_Extension_localize_help
,wiki-publisher
,help
/lang
/com.sun.wiki-publisher
/wikiaccount.xhp
,$(WIKISRC
)/help
/wikiaccount.xhp
))
67 $(eval
$(call gb_Extension_localize_help
,wiki-publisher
,help
/lang
/com.sun.wiki-publisher
/wiki.xhp
,$(WIKISRC
)/help
/wiki.xhp
))
68 $(eval
$(call gb_Extension_localize_help
,wiki-publisher
,help
/lang
/com.sun.wiki-publisher
/wikisettings.xhp
,$(WIKISRC
)/help
/wikisettings.xhp
))