xref: /trunk/extras/l10n/util/update_kid/makefile.mk (revision 128f043f)
18809db7aSAndrew Rist#**************************************************************
28809db7aSAndrew Rist#
38809db7aSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
48809db7aSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
58809db7aSAndrew Rist#  distributed with this work for additional information
68809db7aSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
78809db7aSAndrew Rist#  to you under the Apache License, Version 2.0 (the
88809db7aSAndrew Rist#  "License"); you may not use this file except in compliance
98809db7aSAndrew Rist#  with the License.  You may obtain a copy of the License at
108809db7aSAndrew Rist#
118809db7aSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
128809db7aSAndrew Rist#
138809db7aSAndrew Rist#  Unless required by applicable law or agreed to in writing,
148809db7aSAndrew Rist#  software distributed under the License is distributed on an
158809db7aSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
168809db7aSAndrew Rist#  KIND, either express or implied.  See the License for the
178809db7aSAndrew Rist#  specific language governing permissions and limitations
188809db7aSAndrew Rist#  under the License.
198809db7aSAndrew Rist#
208809db7aSAndrew Rist#**************************************************************
21cdf0e10cSrcweirPRJ=../..
22cdf0e10cSrcweirPRJNAME=l10n
23cdf0e10cSrcweirTARGET=l10n_kid
24cdf0e10cSrcweir
25cdf0e10cSrcweir##########################################################################
26cdf0e10cSrcweir#
27cdf0e10cSrcweir# Use me to update the key id file.
28*128f043fSMatthias Seidel# DO NOT USE FOR MIXED REPOSITORIES
29cdf0e10cSrcweir#
30*128f043fSMatthias Seidel##########################################################################
31cdf0e10cSrcweir
32cdf0e10cSrcweir# --- Targets ------------------------------------------------------
33cdf0e10cSrcweir.INCLUDE : settings.mk
34cdf0e10cSrcweir
35cdf0e10cSrcweirMYTEMP:=$(mktmp )
36cdf0e10cSrcweir
37cdf0e10cSrcweir.INCLUDE : target.mk
38cdf0e10cSrcweir
39cdf0e10cSrcweir
40cdf0e10cSrcweirblah:
418490ac7cSAndrea Pescetti	cd $(SRC_ROOT) && localize -e -l en-US -f $(MYTEMP)
42cdf0e10cSrcweir	$(RM) 	$(PRJ)$/source$/kid$/localize.sdf
43cdf0e10cSrcweir	$(PERL) $(SOLARVER)$/$(INPATH)$/bin$(UPDMINOREXT)$/keyidGen.pl $(MYTEMP) $(PRJ)$/source$/kid$/localize.sdf_tmp
44cdf0e10cSrcweir	$(TYPE) lic.header $(PRJ)$/source$/kid$/localize.sdf_tmp | sed -e "s/\ten-US\t/\tkid\t/" > $(PRJ)$/source$/kid$/localize.sdf
45cdf0e10cSrcweir	$(RM) $(MYTEMP) $(PRJ)$/source$/kid$/localize.sdf_tmp
46cdf0e10cSrcweir
47cdf0e10cSrcweir
48cdf0e10cSrcweirALLTAR : blah
49cdf0e10cSrcweir
50