1
1
#*************************************************************************
3
# OpenOffice.org - a multi-platform office productivity suite
5
# $RCSfile: makefile.mk,v $
9
# last change: $Author: obo $ $Date: 2007/07/18 08:02:42 $
11
# The Contents of this file are made available subject to
12
# the terms of GNU Lesser General Public License Version 2.1.
15
# GNU Lesser General Public License Version 2.1
16
# =============================================
17
# Copyright 2005 by Sun Microsystems, Inc.
18
# 901 San Antonio Road, Palo Alto, CA 94303, USA
20
# This library is free software; you can redistribute it and/or
21
# modify it under the terms of the GNU Lesser General Public
22
# License version 2.1, as published by the Free Software Foundation.
24
# This library is distributed in the hope that it will be useful,
25
# but WITHOUT ANY WARRANTY; without even the implied warranty of
26
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27
# Lesser General Public License for more details.
29
# You should have received a copy of the GNU Lesser General Public
30
# License along with this library; if not, write to the Free Software
31
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5
# Copyright 2008 by Sun Microsystems, Inc.
7
# OpenOffice.org - a multi-platform office productivity suite
9
# $RCSfile: makefile.mk,v $
11
# $Revision: 1.13.6.2 $
13
# This file is part of OpenOffice.org.
15
# OpenOffice.org is free software: you can redistribute it and/or modify
16
# it under the terms of the GNU Lesser General Public License version 3
17
# only, as published by the Free Software Foundation.
19
# OpenOffice.org is distributed in the hope that it will be useful,
20
# but WITHOUT ANY WARRANTY; without even the implied warranty of
21
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
# GNU Lesser General Public License version 3 for more details
23
# (a copy is included in the LICENSE file that accompanied this code).
25
# You should have received a copy of the GNU Lesser General Public License
26
# version 3 along with OpenOffice.org. If not, see
27
# <http://www.openoffice.org/license.html>
28
# for a copy of the LGPLv3 License.
34
30
#*************************************************************************
38
PRJNAME = dictionaries
41
#----- Settings ---------------------------------------------------------
43
.INCLUDE : settings.mk
37
# --- Settings -----------------------------------------------------
40
# it might be useful to have an extension wide include to set things
41
# like the EXTNAME variable (used for configuration processing)
42
# .INCLUDE : $(PRJ)$/source$/<extension name>$/<extension_name>.pmk
45
44
# --- Files --------------------------------------------------------
47
.IF "$(DIC_ALL)$(DIC_DEDE)"!=""
51
README_hyph_de_DE.txt \
58
# --- Targets ------------------------------------------------------
46
# name for uniq directory
47
EXTENSIONNAME:=dict-de
48
EXTENSION_ZIPNAME:=dict-de
50
# some other targets to be done
52
# --- Extension packaging ------------------------------------------
56
$(EXTENSIONDIR)$/COPYING \
57
$(EXTENSIONDIR)$/Copyright \
58
$(EXTENSIONDIR)$/de_DE.aff \
59
$(EXTENSIONDIR)$/de_DE.dic \
60
$(EXTENSIONDIR)$/hyph_de_DE.dic \
61
$(EXTENSIONDIR)$/downloadplaces.txt \
62
$(EXTENSIONDIR)$/INSTALL_de.txt \
63
$(EXTENSIONDIR)$/README_de_DE.txt \
64
$(EXTENSIONDIR)$/README_hyph_de_DE.txt \
65
$(EXTENSIONDIR)$/VERSION
67
COMPONENT_CONFIGDEST=.
69
$(EXTENSIONDIR)$/dictionaries.xcu
71
# disable fetching default OOo license text
72
CUSTOM_LICENSE=COPYING_OASIS
73
# override default license destination
74
PACKLICS= $(EXTENSIONDIR)$/$(CUSTOM_LICENSE)
76
COMPONENT_ZIP:=$(PWD)$/thes_de_DE_v2.zip
77
COMPONENT_UNZIP_FILES= \
78
$(EXTENSIONDIR)$/th_de_DE_v2.dat \
79
$(EXTENSIONDIR)$/th_de_DE_v2.idx
81
# add own targets to packing dependencies (need to be done before
82
# packing the xtension
83
# EXTENSION_PACKDEPS=makefile.mk $(CUSTOM_LICENSE)
84
EXTENSION_PACKDEPS=$(COMPONENT_UNZIP_FILES) $(COMPONENT_FILES)
86
# global settings for extension packing
87
.INCLUDE : extension_pre.mk
60
88
.INCLUDE : target.mk
61
.INCLUDE : $(PRJ)$/util$/target.pmk
64
# add thesaurus for de_DE de_AT
66
.IF "$(DIC_ALL)$(DIC_DEDE)$(DIC_DEAT)"!=""
68
ALLTAR : $(MISC)$/thes_de_DE_v2.don
70
$(MISC)$/thes_de_DE_v2.don: thes_de_DE_v2.zip
71
cd $(BIN) && $(WRAPCMD) unzip -o $(PWD)$/thes_de_DE_v2.zip && $(TOUCH) ..$/misc$/thes_de_DE_v2.don
89
# global targets for extension packing
90
.INCLUDE : extension_post.mk
92
.IF "$(COMPONENT_UNZIP_FILES)"!=""
93
$(COMPONENT_UNZIP_FILES) : "$(COMPONENT_ZIP)"
94
cd $(EXTENSIONDIR) && unzip -o $< $(subst,$(EXTENSIONDIR)$/, $@)
95
.ENDIF # "$(COMPONENT_UNZIP_FILES)"!=""