install ConvertTextToNumber ext. using filelist
Change-Id: I59c132239a410653c27be569c45b789fcb109898
This commit is contained in:
parent
5ec03f9fe5
commit
25b75577ef
@ -7,13 +7,14 @@
|
||||
# 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_ExternalPackage_ExternalPackage,ct2n,ConvertTextToNumber))
|
||||
|
||||
$(eval $(call gb_Zip_use_unpacked,ct2n,ConvertTextToNumber))
|
||||
$(eval $(call gb_ExternalPackage_set_outdir,ct2n,$(INSTDIR)))
|
||||
|
||||
$(eval $(call gb_Zip_add_files,ct2n,\
|
||||
$(eval $(call gb_ExternalPackage_use_unpacked,ct2n,ConvertTextToNumber))
|
||||
|
||||
$(eval $(call gb_ExternalPackage_add_unpacked_files_with_dir,ct2n,share/extensions/ConvertTextToNumber,\
|
||||
Addons.xcu \
|
||||
CT2N \
|
||||
CT2N/MainCode.xba \
|
||||
CT2N/ToClipbord.xba \
|
||||
CT2N/Language.xba \
|
||||
@ -22,10 +23,7 @@ $(eval $(call gb_Zip_add_files,ct2n,\
|
||||
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 \
|
||||
@ -35,25 +33,10 @@ $(eval $(call gb_Zip_add_files,ct2n,\
|
||||
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) | $(OUTDIR)/bin/.dir
|
||||
$(call gb_Deliver_deliver,$<,$@)
|
||||
|
||||
.PHONY : Clean_ConvertTextToNumber_oxt
|
||||
Clean_ConvertTextToNumber_oxt :
|
||||
rm -f $(OUTDIR)/bin/ConvertTextToNumber.oxt
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
@ -12,8 +12,8 @@ $(eval $(call gb_Module_Module,ConvertTextToNumber))
|
||||
ifneq (,$(filter CT2N,$(BUILD_TYPE)))
|
||||
|
||||
$(eval $(call gb_Module_add_targets,ConvertTextToNumber,\
|
||||
ExternalPackage_ct2n \
|
||||
UnpackedTarball_ct2n \
|
||||
Zip_ct2n \
|
||||
))
|
||||
|
||||
endif
|
||||
|
@ -78,9 +78,9 @@ End
|
||||
|
||||
File gid_File_Oxt_CT2N
|
||||
TXT_FILE_BODY;
|
||||
Styles = (PACKED, ARCHIVE);
|
||||
Dir = gid_Brand_Dir_Share_Extensions_CT2N;
|
||||
Name = "ConvertTextToNumber.oxt";
|
||||
Styles = (PACKED, FILELIST);
|
||||
Dir = FILELIST_DIR;
|
||||
Name = "ct2n.filelist";
|
||||
End
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user