diff options
Diffstat (limited to 'dictionaries/gd_GB/makefile.mk')
-rw-r--r-- | dictionaries/gd_GB/makefile.mk | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/dictionaries/gd_GB/makefile.mk b/dictionaries/gd_GB/makefile.mk new file mode 100644 index 0000000..07aca12 --- /dev/null +++ b/dictionaries/gd_GB/makefile.mk @@ -0,0 +1,84 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +PRJ=.. + +PRJNAME=dictionaries +TARGET=dict-gd + +# --- Settings ----------------------------------------------------- + +.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$/<extension name>$/<extension_name>.pmk + +# --- Files -------------------------------------------------------- + +# name for uniq directory +EXTENSIONNAME:=dict-gd +EXTENSION_ZIPNAME:=dict-gd + +# some other targets to be done + +# --- Extension packaging ------------------------------------------ + +.IF "$(WITH_LANG)" != "" +DESCRIPTION_SRC:=$(MISC)/$(EXTENSIONNAME)_in/description.xml +.ENDIF + +# just copy: +COMPONENT_FILES= \ + $(EXTENSIONDIR)$/gd_GB.aff \ + $(EXTENSIONDIR)$/gd_GB.dic + + +COMPONENT_CONFIGDEST=. +COMPONENT_XCU= \ + $(EXTENSIONDIR)$/dictionaries.xcu + +# disable fetching default OOo license text +CUSTOM_LICENSE=README_gd_GB.txt +# override default license destination +PACKLICS= $(EXTENSIONDIR)$/$(CUSTOM_LICENSE) + +# add own targets to packing dependencies (need to be done before +# packing the xtension +# EXTENSION_PACKDEPS=makefile.mk $(CUSTOM_LICENSE) +EXTENSION_PACKDEPS=$(COMPONENT_FILES) + +# global settings for extension packing +.INCLUDE : extension_pre.mk +.INCLUDE : target.mk +# global targets for extension packing +.INCLUDE : extension_post.mk + +.IF "$(WITH_LANG)" != "" +$(DESCRIPTION_SRC) : description.xml + @@-$(MKDIRHIER) $(@:d) + $(COMMAND_ECHO)$(XRMEX) -p $(PRJNAME) -i $< -o $@ -m $(LOCALIZESDF) -l all +.ENDIF |