hide dict files -- playing with svn:ignore

This commit is contained in:
ehouse 2006-07-29 21:36:24 +00:00
parent d493502714
commit b5164aa0c5
2 changed files with 46 additions and 4 deletions

View file

@ -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]"

View 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]"