mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
hide dict files -- playing with svn:ignore
This commit is contained in:
parent
fbd3716fc3
commit
b1e50662ec
2 changed files with 46 additions and 4 deletions
|
@ -16,7 +16,7 @@
|
||||||
# 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=Portuguese
|
LANG=PortugueseBR
|
||||||
LANGCODE=pt_PT
|
LANGCODE=pt_PT
|
||||||
|
|
||||||
TARGET_TYPE ?= PALM
|
TARGET_TYPE ?= PALM
|
||||||
|
@ -25,9 +25,9 @@ include ../Makefile.2to8
|
||||||
|
|
||||||
include ../Makefile.langcommon
|
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Ç] | \
|
zcat $< | tr [a-zç] [A-ZÇ] | \
|
||||||
grep '^[A-JL-VXZÇ]\+$$' | \
|
grep '^[A-JL-VXZÇ]\+$$' | \
|
||||||
gzip -c > $@
|
gzip -c > $@
|
||||||
|
@ -39,4 +39,4 @@ clean: clean_common
|
||||||
rm -f $(LANG)Main.dict.gz *.bin $(LANG)*.pdb $(LANG)*.seb
|
rm -f $(LANG)Main.dict.gz *.bin $(LANG)*.pdb $(LANG)*.seb
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo "make [SOURCEDICT=$(XWDICTPATH)/$(LANG)/portugueseBR.txt]"
|
@echo "make [SOURCEDICT=$(XWDICTPATH)/Portuguese/portugueseBR.txt]"
|
42
dawg/Portuguese/Makefile.Minho
Normal file
42
dawg/Portuguese/Makefile.Minho
Normal file
|
@ -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]"
|
Loading…
Reference in a new issue