235107
diff -ru ispell-gaeilge-4.5/makefile ispell-gaeilge-4.5/makefile
235107
--- ispell-gaeilge-4.5/makefile	2010-07-31 16:21:50.000000000 +0100
235107
+++ ispell-gaeilge-4.5/makefile	2010-07-31 16:22:04.000000000 +0100
235107
@@ -18,17 +18,15 @@
235107
 ALTAFFIXFILE=gaeilgemor.aff
235107
 INSTALL_DATA=$(INSTALL) -m 444
235107
 
235107
-SORT=/usr/bin/sort -u
235107
+SORT=sort -u
235107
 
235107
-hashtable: $(INSTALLATION).hash
235107
-
235107
-all: gaeilge.hash gaeilgelit.hash gaeilgemor.hash
235107
+all: ga_IE.dic
235107
 
235107
 # grep -v filters out Malmö, São, LC_ALL=C needed!
235107
-gaeilge.hash: $(RAWWORDS) $(AFFIXFILE) $(PERSONAL)
235107
+ga_IE.dic: $(RAWWORDS) $(AFFIXFILE) $(PERSONAL)
235107
 	LC_ALL=C $(SORT) $(RAWWORDS) $(PERSONAL) | LC_ALL=C grep -v "[^'a-zA-ZáéíóúÁÉÍÓÚ/-]" | iconv -f utf8 -t iso-8859-1 > gaeilge.focail
235107
-	iconv -f utf8 -t iso-8859-1 $(AFFIXFILE) > tempaff.txt
235107
-	$(ISPELLBIN)/buildhash gaeilge.focail tempaff.txt gaeilge.hash
235107
+	wc -l gaeilge.focail | cut -d ' ' -f 1 > ga_IE.dic
235107
+	LC_ALL=C $(SORT) -f -t / --key 1,1 gaeilge.focail >> ga_IE.dic
235107
 	rm -f gaeilge.focail tempaff.txt
235107
 
235107
 gaeilgelit.hash: $(RAWWORDS) $(LITWORDS) gaeilgelit.aff $(PERSONAL)