diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -60,6 +60,7 @@ stage-6.md: stage-5.txt Makefile # This actually updates dict by sorting and removing leading numbers/spaces. dict.tmp: dict + touch dict.tmp cat dict |\ sed "s,^[0-9 ]*,," |\ sort |\ @@ -67,11 +68,11 @@ dict.tmp: dict uniq > dict.tmp && cp dict.tmp dict spellcheck: stage-6.md - hunspell -p dict -d nb_NO stage-6.md dict.tmp + hunspell -p $$(pwd)/dict -d nb_NO,constance-ring $< -spellcheck-words: stage-6.md dict.tmp +spellcheck-words: stage-6.md dict.tmp constance-ring.dic @echo hunspell - hunspell -p dict -d nb_NO -l < $< | sort | uniq -c | sort -n > $@.tmp + hunspell -p $$(pwd)/dict -d nb_NO,constance-ring -l < $< | sort | uniq -c | sort -n > $@.tmp @mv $@.tmp spellcheck-words constance-ring.epub: header.md stage-6.md spellcheck-words |
