TARGET_TYPE to PALM; use env variable to locate input wordlist

This commit is contained in:
ehouse 2004-11-05 14:24:47 +00:00
parent d890b0c892
commit b24837669d
3 changed files with 7 additions and 7 deletions

View file

@ -15,16 +15,16 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
LANG=ODS4
LANG=ODS4_
LANGCODE=fr_FR
TARGET_TYPE ?= FRANK
TARGET_TYPE ?= PALM
include ../Makefile.2to8
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 >$@
# Everything but creating of the Main.dict file is inherited from the

View file

@ -18,13 +18,13 @@
LANG=German
LANGCODE=de_DE
TARGET_TYPE ?= FRANK
TARGET_TYPE ?= PALM
include ../Makefile.2to8
include ../Makefile.langcommon
SOURCEDICT ?= HansGerman.dict.gz
SOURCEDICT ?= $(XWDICTPATH)/$(LANG)/HansGerman.dict.gz
$(LANG)Main.dict.gz: $(SOURCEDICT) Makefile
zcat $< | tr [a-zäöü] [A-ZÄÖÜ] | \

View file

@ -17,7 +17,7 @@
LANG=Spanish
LANGCODE=es_ES
TARGET_TYPE ?= FRANK
TARGET_TYPE ?= PALM
ifeq ($(TARGET_TYPE),PALM)
PBITMS = ./bmps/palm
@ -39,7 +39,7 @@ include ../Makefile.langcommon
#$(LANG)Main.dict.gz: SpanishMain.dict.gz
# ln -s $< $@
$(LANG)Main.dict.gz: XavSpanish.dict.gz Makefile
$(LANG)Main.dict.gz: $(XWDICTPATH)/$(LANG)/XavSpanish.dict.gz Makefile
zcat $< \
| tr '\207\216\222\227\234\237\226' 'aeiouu\321' \
| tr [a-zñ] [A-ZÑ] \