From e2cbee121068e8805bf29ec2e1778a3e647c04b5 Mon Sep 17 00:00:00 2001 From: ehouse Date: Thu, 16 Jun 2005 05:12:49 +0000 Subject: [PATCH] path to local copy of wordlist --- xwords4/dawg/English/Makefile.SOWPODS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xwords4/dawg/English/Makefile.SOWPODS b/xwords4/dawg/English/Makefile.SOWPODS index 198fbfee9..1aa5e4521 100644 --- a/xwords4/dawg/English/Makefile.SOWPODS +++ b/xwords4/dawg/English/Makefile.SOWPODS @@ -23,7 +23,9 @@ include ../Makefile.2to8 include ../Makefile.langcommon -$(LANG)Main.dict.gz: sow-twl.txt.gz +SOURCEDICT ?= $(XWDICTPATH)/English/sow-twl.txt.gz + +$(LANG)Main.dict.gz: $(SOURCEDICT) Makefile zcat $< | tr -d '\r' | tr [a-z] [A-Z] | grep -e "^[A-Z]\{2,15\}$$" | \ gzip -c > $@