chiark / gitweb /
numbered-alias-sheet: fix -T
[d.git] / Makefile
index 534dbc29ff882f96e070daf749ccf796bc486438..17ee348392409dfc002a0e993ee5704480e8c897 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,11 @@
 #
 
-WORDLIST_LEN=3000
+all:           words.final
 
-all:   words.list
+o= >$@.tmp && mv -f $@.tmp $@
 
-o= >$@.tmp && mv -f $@.tmp
-
-words.final:   words.interim Makefile
-               grep -Ff forbidden-words $< >$@.1.tmp
-               head - $o
+words.final:   words.interim forbidden-words Makefile
+               grep -vxFf forbidden-words $< $o
 
 words.interim: massage-lemmas lemma.al
                ./$^ $o