$NetBSD: patch-aa,v 1.4 2004/12/01 12:27:44 markd Exp $ --- Makefile.orig 2003-02-08 01:40:58.000000000 +1300 +++ Makefile @@ -50,8 +50,8 @@ DESTDIR = MAKE = make BUILDHASH = buildhash ISPELL = ispell -SQ = sq -UNSQ = unsq +SQ = ../bin/sq.pl +UNSQ = ../bin/unsq.pl # if for some reason you don't have Ispell's unsq use my Perl sq/unsq # and put it into a directory known by your PATH variable! #UNSQ = unsq.pl @@ -209,14 +209,14 @@ clean: sort: @if grep [äöüÄÖÜß] dicts/*.txt ;then echo "!!! wrong characters in dictionay files !!!";exit 1;fi - cd dicts; find . -name "*.txt" |while read i; do sort -u -o $$i $$i; done + cd dicts; find . -name "*.txt" -print |while read i; do sort -u -o $$i $$i; done pack: sort rm -f unpack - cd dicts; find . -name "*.txt" |while read i; do $(SQ) < $$i > $$i.sq && rm $$i; done + cd dicts; find . -name "*.txt" -print |while read i; do $(SQ) < $$i > $$i.sq && rm $$i; done unpack: - cd dicts; find . -name "*.sq" |while read i; do $(UNSQ) < $$i > `basename $$i .sq` && rm $$i; done + cd dicts; find . -name "*.sq" -print |while read i; do $(UNSQ) < $$i > `basename $$i .sq` && rm $$i; done touch unpack dist: sort pack clean