mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
54 lines
No EOL
1.6 KiB
Makefile
54 lines
No EOL
1.6 KiB
Makefile
# -*-mode: Makefile -*-
|
|
# Copyright 2002 by Eric House (fixin@peak.org). All rights reserved.
|
|
#
|
|
# This program is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU General Public License
|
|
# as published by the Free Software Foundation; either version 2
|
|
# of the License, or (at your option) any later version.
|
|
#
|
|
# This program 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 General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
LANG=Spanish
|
|
LANGCODE=es_ES
|
|
TARGET_TYPE ?= FRANK
|
|
|
|
ifeq ($(TARGET_TYPE),PALM)
|
|
PBITMS = ./bmps/palm
|
|
else
|
|
ifeq ($(TARGET_TYPE),FRANK)
|
|
PBITMS = ./bmps/franklin
|
|
endif
|
|
endif
|
|
|
|
LANG_SPECIAL_INFO = \
|
|
"CH" $(PBITMS)/large_ch.pbitm $(PBITMS)/small_ch.pbitm \
|
|
"LL" $(PBITMS)/large_ll.pbitm $(PBITMS)/small_ll.pbitm \
|
|
"RR" $(PBITMS)/large_rr.pbitm $(PBITMS)/small_rr.pbitm \
|
|
|
|
include ../Makefile.2to8
|
|
|
|
include ../Makefile.langcommon
|
|
|
|
#$(LANG)Main.dict.gz: SpanishMain.dict.gz
|
|
# ln -s $< $@
|
|
|
|
$(LANG)Main.dict.gz: XavSpanish.dict.gz Makefile
|
|
zcat $< \
|
|
| tr '\207\216\222\227\234\237\226' 'aeiouu\321' \
|
|
| tr [a-zñ] [A-ZÑ] \
|
|
| grep '^[[A-JL-VX-ZÑ]*$$' \
|
|
| sed 's/CH/1/g' \
|
|
| sed 's/LL/2/g' \
|
|
| sed 's/RR/3/g' \
|
|
| tr '123' '\001\002\003' \
|
|
| gzip - > $@
|
|
|
|
clean: clean_common
|
|
rm -rf *.saved
|