~ubuntu-branches/ubuntu/lucid/openoffice.org-dictionaries/lucid

« back to all changes in this revision

Viewing changes to de_DE/makefile.mk

  • Committer: Bazaar Package Importer
  • Author(s): Chris Cheney
  • Date: 2009-02-20 17:00:00 UTC
  • mfrom: (2.1.5 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090220170000-7i0dl1oo4w7h6mf2
Tags: 1:3.0.1~rc1-3ubuntu1
* Merge from debian experimental, remaining changes:
  - Add dependencies on language-support-writing-* packages.
  - Fix the unversioned thunderbird entry in Conflicts for the
    hunspell-* packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#*************************************************************************
2
2
#
3
 
#   OpenOffice.org - a multi-platform office productivity suite
4
 
#
5
 
#   $RCSfile: makefile.mk,v $
6
 
#
7
 
#   $Revision: 1.11 $
8
 
#
9
 
#   last change: $Author: obo $ $Date: 2007/07/18 08:02:42 $
10
 
#
11
 
#   The Contents of this file are made available subject to
12
 
#   the terms of GNU Lesser General Public License Version 2.1.
13
 
#
14
 
#
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
19
 
#
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.
23
 
#
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.
28
 
#
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,
32
 
#     MA  02111-1307  USA
 
3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 
4
#
 
5
# Copyright 2008 by Sun Microsystems, Inc.
 
6
#
 
7
# OpenOffice.org - a multi-platform office productivity suite
 
8
#
 
9
# $RCSfile: makefile.mk,v $
 
10
#
 
11
# $Revision: 1.13.6.2 $
 
12
#
 
13
# This file is part of OpenOffice.org.
 
14
#
 
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.
 
18
#
 
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).
 
24
#
 
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.
33
29
#
34
30
#*************************************************************************
35
31
 
36
 
PRJ = ..
37
 
 
38
 
PRJNAME = dictionaries
39
 
TARGET  = dict_de_DE
40
 
 
41
 
#----- Settings ---------------------------------------------------------
42
 
 
43
 
.INCLUDE : settings.mk
 
32
PRJ=..
 
33
 
 
34
PRJNAME=dictionaries
 
35
TARGET=dict-de
 
36
 
 
37
# --- Settings -----------------------------------------------------
 
38
 
 
39
.INCLUDE: settings.mk
 
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
44
43
 
45
44
# --- Files --------------------------------------------------------
46
45
 
47
 
.IF "$(DIC_ALL)$(DIC_DEDE)"!=""
48
 
 
49
 
DIC2BIN= \
50
 
    hyph_de_DE.dic \
51
 
        README_hyph_de_DE.txt \
52
 
    de_DE.aff \
53
 
    de_DE.dic \
54
 
    README_de_DE.txt
55
 
 
56
 
.ENDIF
57
 
 
58
 
# --- Targets ------------------------------------------------------
59
 
 
 
46
# name for uniq directory
 
47
EXTENSIONNAME:=dict-de
 
48
EXTENSION_ZIPNAME:=dict-de
 
49
 
 
50
# some other targets to be done
 
51
 
 
52
# --- Extension packaging ------------------------------------------
 
53
 
 
54
# just copy:
 
55
COMPONENT_FILES= \
 
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
 
66
 
 
67
COMPONENT_CONFIGDEST=.
 
68
COMPONENT_XCU= \
 
69
    $(EXTENSIONDIR)$/dictionaries.xcu
 
70
 
 
71
# disable fetching default OOo license text
 
72
CUSTOM_LICENSE=COPYING_OASIS
 
73
# override default license destination
 
74
PACKLICS= $(EXTENSIONDIR)$/$(CUSTOM_LICENSE)
 
75
 
 
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
 
80
 
 
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)
 
85
 
 
86
# global settings for extension packing
 
87
.INCLUDE : extension_pre.mk
60
88
.INCLUDE : target.mk
61
 
.INCLUDE : $(PRJ)$/util$/target.pmk
62
 
 
63
 
#
64
 
# add thesaurus for de_DE de_AT
65
 
#
66
 
.IF "$(DIC_ALL)$(DIC_DEDE)$(DIC_DEAT)"!=""
67
 
 
68
 
ALLTAR : $(MISC)$/thes_de_DE_v2.don
69
 
 
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
72
 
 
73
 
.ENDIF
74
 
 
 
89
# global targets for extension packing
 
90
.INCLUDE : extension_post.mk
 
91
 
 
92
.IF "$(COMPONENT_UNZIP_FILES)"!=""
 
93
$(COMPONENT_UNZIP_FILES) : "$(COMPONENT_ZIP)"
 
94
        cd $(EXTENSIONDIR) && unzip -o $< $(subst,$(EXTENSIONDIR)$/, $@)
 
95
.ENDIF                  # "$(COMPONENT_UNZIP_FILES)"!=""