ae2cfc
diff -urN ispell-gaeilge-5.0.old/makefile ispell-gaeilge-5.0/makefile
ae2cfc
--- ispell-gaeilge-5.0.old/makefile	2017-12-04 02:02:36.000000000 +0530
ae2cfc
+++ ispell-gaeilge-5.0/makefile	2018-07-08 09:16:16.483019455 +0530
ae2cfc
@@ -20,17 +20,15 @@
ae2cfc
 ALTAFFIXFILE=gaeilgemor.aff
ae2cfc
 INSTALL_DATA=$(INSTALL) -m 444
ae2cfc
 
ae2cfc
-SORT=/usr/bin/sort -u
ae2cfc
+SORT=sort -u
ae2cfc
 
ae2cfc
-hashtable: $(INSTALLATION).hash
ae2cfc
-
ae2cfc
-all: gaeilge.hash gaeilgelit.hash gaeilgemor.hash
ae2cfc
+all: ga_IE.dic
ae2cfc
 
ae2cfc
 # grep -v filters out Malmö, São, LC_ALL=C needed!
ae2cfc
-gaeilge.hash: $(RAWWORDS) $(AFFIXFILE) $(PERSONAL)
ae2cfc
+ga_IE.dic: $(RAWWORDS) $(AFFIXFILE) $(PERSONAL)
ae2cfc
 	LC_ALL=C $(SORT) $(RAWWORDS) $(PERSONAL) | LC_ALL=C grep -v "[^'a-zA-ZáéíóúÁÉÍÓÚ/-]" | iconv -f UTF-8 -t iso-8859-1 > gaeilge.focail
ae2cfc
-	iconv -f UTF-8 -t iso-8859-1 $(AFFIXFILE) > tempaff.txt
ae2cfc
-	$(ISPELLBIN)/buildhash gaeilge.focail tempaff.txt gaeilge.hash
ae2cfc
+	wc -l gaeilge.focail | cut -d ' ' -f 1 > ga_IE.dic
ae2cfc
+	LC_ALL=C $(SORT) -f -t / --key 1,1 gaeilge.focail >> ga_IE.dic
ae2cfc
 	rm -f gaeilge.focail tempaff.txt
ae2cfc
 
ae2cfc
 gaeilgelit.hash: $(RAWWORDS) $(LITWORDS) gaeilgelit.aff $(PERSONAL)