summaryrefslogtreecommitdiff
path: root/ct2n/Zip_ct2n.mk
blob: c365dc97d90a30f78f6bc58198698106e2b12139 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#

$(eval $(call gb_Zip_Zip,ct2n,$(call gb_UnpackedTarball_get_dir,ConvertTextToNumber)))

$(eval $(call gb_Zip_use_unpacked,ct2n,ConvertTextToNumber))

$(eval $(call gb_Zip_add_files,ct2n,\
    Addons.xcu \
    CT2N \
    CT2N/MainCode.xba \
    CT2N/ToClipbord.xba \
    CT2N/Language.xba \
    CT2N/dialog.xlb \
    CT2N/dlgCode.xba \
    CT2N/script.xlb \
    CT2N/dlgCT2N.xdl \
    CT2N/UserSettings.xba \
    META-INF \
    META-INF/manifest.xml \
    Office \
    Office/UI \
    Office/UI/BaseWindowState.xcu \
    Office/UI/ImpressWindowState.xcu \
    Office/UI/StartModuleWindowState.xcu \
    Office/UI/BasicIDEWindowState.xcu \
    Office/UI/CalcWindowState.xcu \
    Office/UI/WriterWindowState.xcu \
    Office/UI/DrawWindowState.xcu \
    Office/UI/MathWindowState.xcu \
    description.xml \
    icons \
    icons/image1_26.bmp \
    icons/image1_16.bmp \
    pkg-desc \
    pkg-desc/pkg-description.txt \
    registration \
    registration/COPYING \
))

# UGLY: the Zip target always has .zip suffix, so copy the file to .oxt here...

$(call gb_Zip_get_final_target,ct2n) : $(OUTDIR)/bin/ConvertTextToNumber.oxt
$(call gb_Zip_get_clean_target,ct2n) : Clean_ConvertTextToNumber_oxt

$(OUTDIR)/bin/ConvertTextToNumber.oxt : $(call gb_Zip_get_target,ct2n)
	$(call gb_Deliver_deliver,$<,$@)

.PHONY : Clean_ConvertTextToNumber_oxt
Clean_ConvertTextToNumber_oxt :
	rm -f $(OUTDIR)/bin/ConvertTextToNumber.oxt

# vim: set noet sw=4 ts=4: