From e06d48e41efacbe7aa7242841d07579ad7119a4a Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Tue, 1 Jul 2008 14:46:46 +0000 Subject: INTEGRATION: CWS native156 (1.5.12); FILE MERGED 2008/06/18 13:08:04 mba 1.5.12.2: #i90657#: create dictionary extensions 2008/06/18 12:44:02 mba 1.5.12.1: #i90657#: create extensions --- dictionaries/th_TH/makefile.mk | 56 +++++++++++++++++++++++++++--------------- 1 file changed, 36 insertions(+), 20 deletions(-) diff --git a/dictionaries/th_TH/makefile.mk b/dictionaries/th_TH/makefile.mk index a81f7ce..c474874 100644 --- a/dictionaries/th_TH/makefile.mk +++ b/dictionaries/th_TH/makefile.mk @@ -1,14 +1,14 @@ #************************************************************************* # # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# +# # Copyright 2008 by Sun Microsystems, Inc. # # OpenOffice.org - a multi-platform office productivity suite # # $RCSfile: makefile.mk,v $ # -# $Revision: 1.5 $ +# $Revision: 1.6 $ # # This file is part of OpenOffice.org. # @@ -29,35 +29,51 @@ # #************************************************************************* -PRJ = .. +PRJ=.. -PRJNAME = dictionaries -TARGET = dict_th_TH +PRJNAME=dictionaries +TARGET=dict-th -#----- Settings --------------------------------------------------------- +# --- Settings ----------------------------------------------------- -.INCLUDE : settings.mk +.INCLUDE: settings.mk +# it might be useful to have an extension wide include to set things +# like the EXTNAME variable (used for configuration processing) +# .INCLUDE : $(PRJ)$/source$/$/.pmk # --- Files -------------------------------------------------------- -.IF "$(DIC_ALL)$(DIC_THTH)"!="" +# name for uniq directory +EXTENSIONNAME:=dict-th +EXTENSION_ZIPNAME:=dict-th + +# some other targets to be done -#all_target: $(MISC)$/$(TARGET).don +# --- Extension packaging ------------------------------------------ -DIC2BIN= \ - th_TH.aff \ - th_TH.dic \ - README_th_TH.txt +# just copy: +COMPONENT_FILES= \ + $(EXTENSIONDIR)$/th_TH.aff \ + $(EXTENSIONDIR)$/th_TH.dic \ + $(EXTENSIONDIR)$/README_th_TH.txt -#$(MISC)$/$(TARGET).don : -# +$(COPY) $(foreach,i,$(DIC2BIN) $i) $(BIN) -# @echo DICT th TH th_TH >>$(BIN)$/dictionary.lst -# @touch $@ +COMPONENT_CONFIGDEST=. +COMPONENT_XCU= \ + $(EXTENSIONDIR)$/dictionaries.xcu -.ENDIF +# disable fetching default OOo license text +# CUSTOM_LICENSE=README_da_DK.txt +# override default license destination +# PACKLICS= $(EXTENSIONDIR)$/registration$/$(CUSTOM_LICENSE) -# --- Targets ------------------------------------------------------ +# add own targets to packing dependencies (need to be done before +# packing the xtension +# EXTENSION_PACKDEPS=makefile.mk $(CUSTOM_LICENSE) +EXTENSION_PACKDEPS=$(COMPONENT_UNZIP_FILES) +# global settings for extension packing +.INCLUDE : extension_pre.mk .INCLUDE : target.mk -.INCLUDE : $(PRJ)$/util$/target.pmk +# global targets for extension packing +.INCLUDE : extension_post.mk -- cgit