From b1e50662ec19b967941a837c932b9e3aec60e165 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sat, 29 Jul 2006 21:36:24 +0000 Subject: [PATCH] hide dict files -- playing with svn:ignore --- .../{Makefile => Makefile.BrOffice} | 8 ++-- dawg/Portuguese/Makefile.Minho | 42 +++++++++++++++++++ 2 files changed, 46 insertions(+), 4 deletions(-) rename dawg/Portuguese/{Makefile => Makefile.BrOffice} (85%) create mode 100644 dawg/Portuguese/Makefile.Minho diff --git a/dawg/Portuguese/Makefile b/dawg/Portuguese/Makefile.BrOffice similarity index 85% rename from dawg/Portuguese/Makefile rename to dawg/Portuguese/Makefile.BrOffice index 40e5c420f..b68361de4 100644 --- a/dawg/Portuguese/Makefile +++ b/dawg/Portuguese/Makefile.BrOffice @@ -16,7 +16,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -LANG=Portuguese +LANG=PortugueseBR LANGCODE=pt_PT TARGET_TYPE ?= PALM @@ -25,9 +25,9 @@ include ../Makefile.2to8 include ../Makefile.langcommon -SOURCEDICT ?= $(XWDICTPATH)/$(LANG)/portugueseBR.txt.gz +SOURCEDICT ?= $(XWDICTPATH)/Portuguese/portugueseBR.txt.gz -$(LANG)Main.dict.gz: $(SOURCEDICT) Makefile +$(LANG)Main.dict.gz: $(SOURCEDICT) Makefile.BrOffice zcat $< | tr [a-zç] [A-ZÇ] | \ grep '^[A-JL-VXZÇ]\+$$' | \ gzip -c > $@ @@ -39,4 +39,4 @@ clean: clean_common rm -f $(LANG)Main.dict.gz *.bin $(LANG)*.pdb $(LANG)*.seb help: - @echo "make [SOURCEDICT=$(XWDICTPATH)/$(LANG)/portugueseBR.txt]" + @echo "make [SOURCEDICT=$(XWDICTPATH)/Portuguese/portugueseBR.txt]" diff --git a/dawg/Portuguese/Makefile.Minho b/dawg/Portuguese/Makefile.Minho new file mode 100644 index 000000000..c62bdcfc9 --- /dev/null +++ b/dawg/Portuguese/Makefile.Minho @@ -0,0 +1,42 @@ +# -*- mode: makefile -*- +# Copyright 2002, 2006 by Eric House (xwords@eehouse.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=PortuguesePT +LANGCODE=pt_PT + +TARGET_TYPE ?= PALM + +include ../Makefile.2to8 + +include ../Makefile.langcommon + +SOURCEDICT ?= $(XWDICTPATH)/Portuguese/portuguese_pt.bz2 + +$(LANG)Main.dict.gz: $(SOURCEDICT) Makefile.Minho + bzcat $< | tr [a-zç] [A-ZÇ] | \ + grep '^[A-JL-VXZÇ]\+$$' | \ + gzip -c > $@ + +# Everything but creating of the Main.dict file is inherited from the +# "parent" Makefile.langcommon in the parent directory. + +clean: clean_common + rm -f $(LANG)Main.dict.gz *.bin $(LANG)*.pdb $(LANG)*.seb + +help: + @echo "make [SOURCEDICT=$(XWDICTPATH)/Portuguese/portuguese_pt.bz2]"