mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
Remove windows LF chars just in case; take SOURCEDICT via cmdline; add emacs modeline.
This commit is contained in:
parent
15a2154720
commit
835a0ae45e
2 changed files with 7 additions and 3 deletions
|
@ -43,11 +43,14 @@ include ../Makefile.langcommon
|
|||
#$(LANG)Main.dict.gz: SpanishMain.dict.gz
|
||||
# ln -s $< $@
|
||||
|
||||
$(XWLANG)Main.dict.gz: $(XWDICTPATH)/$(XWLANG)/XavSpanish.dict.gz Makefile
|
||||
SOURCEDICT ?= $(XWDICTPATH)/$(XWLANG)/XavSpanish.dict.gz
|
||||
|
||||
$(XWLANG)Main.dict.gz: $(SOURCEDICT) Makefile
|
||||
zcat $< \
|
||||
| tr -d '\r' \
|
||||
| tr '\207\216\222\227\234\237\226' 'aeiouu\321' \
|
||||
| tr [a-zñ] [A-ZÑ] \
|
||||
| grep '^[[A-JL-VX-ZÑ]*$$' \
|
||||
| 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' \
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
# -*- mode: conf; -*-
|
||||
# Copyright 2002-2006 by Eric House (xwords@eehouse.org). All rights
|
||||
# reserved.
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue