mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-11 08:48:06 +01:00
TARGET_TYPE to PALM; use env variable to locate input wordlist
This commit is contained in:
parent
d890b0c892
commit
b24837669d
3 changed files with 7 additions and 7 deletions
|
@ -15,16 +15,16 @@
|
||||||
# along with this program; if not, write to the Free Software
|
# along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
LANG=ODS4
|
LANG=ODS4_
|
||||||
LANGCODE=fr_FR
|
LANGCODE=fr_FR
|
||||||
|
|
||||||
TARGET_TYPE ?= FRANK
|
TARGET_TYPE ?= PALM
|
||||||
|
|
||||||
include ../Makefile.2to8
|
include ../Makefile.2to8
|
||||||
|
|
||||||
include ../Makefile.langcommon
|
include ../Makefile.langcommon
|
||||||
|
|
||||||
$(LANG)Main.dict.gz: ods4.txt.gz
|
$(LANG)Main.dict.gz: $(XWDICTPATH)/$(LANG)/ods4c.txt.gz
|
||||||
zcat $< | tr a-z A-Z | tr -d '\r' | gzip >$@
|
zcat $< | tr a-z A-Z | tr -d '\r' | gzip >$@
|
||||||
|
|
||||||
# Everything but creating of the Main.dict file is inherited from the
|
# Everything but creating of the Main.dict file is inherited from the
|
||||||
|
|
|
@ -18,13 +18,13 @@
|
||||||
LANG=German
|
LANG=German
|
||||||
LANGCODE=de_DE
|
LANGCODE=de_DE
|
||||||
|
|
||||||
TARGET_TYPE ?= FRANK
|
TARGET_TYPE ?= PALM
|
||||||
|
|
||||||
include ../Makefile.2to8
|
include ../Makefile.2to8
|
||||||
|
|
||||||
include ../Makefile.langcommon
|
include ../Makefile.langcommon
|
||||||
|
|
||||||
SOURCEDICT ?= HansGerman.dict.gz
|
SOURCEDICT ?= $(XWDICTPATH)/$(LANG)/HansGerman.dict.gz
|
||||||
|
|
||||||
$(LANG)Main.dict.gz: $(SOURCEDICT) Makefile
|
$(LANG)Main.dict.gz: $(SOURCEDICT) Makefile
|
||||||
zcat $< | tr [a-zäöü] [A-ZÄÖÜ] | \
|
zcat $< | tr [a-zäöü] [A-ZÄÖÜ] | \
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
LANG=Spanish
|
LANG=Spanish
|
||||||
LANGCODE=es_ES
|
LANGCODE=es_ES
|
||||||
TARGET_TYPE ?= FRANK
|
TARGET_TYPE ?= PALM
|
||||||
|
|
||||||
ifeq ($(TARGET_TYPE),PALM)
|
ifeq ($(TARGET_TYPE),PALM)
|
||||||
PBITMS = ./bmps/palm
|
PBITMS = ./bmps/palm
|
||||||
|
@ -39,7 +39,7 @@ include ../Makefile.langcommon
|
||||||
#$(LANG)Main.dict.gz: SpanishMain.dict.gz
|
#$(LANG)Main.dict.gz: SpanishMain.dict.gz
|
||||||
# ln -s $< $@
|
# ln -s $< $@
|
||||||
|
|
||||||
$(LANG)Main.dict.gz: XavSpanish.dict.gz Makefile
|
$(LANG)Main.dict.gz: $(XWDICTPATH)/$(LANG)/XavSpanish.dict.gz Makefile
|
||||||
zcat $< \
|
zcat $< \
|
||||||
| tr '\207\216\222\227\234\237\226' 'aeiouu\321' \
|
| tr '\207\216\222\227\234\237\226' 'aeiouu\321' \
|
||||||
| tr [a-zñ] [A-ZÑ] \
|
| tr [a-zñ] [A-ZÑ] \
|
||||||
|
|
Loading…
Add table
Reference in a new issue