forked from Hg/htlle-da-vorlage
fix do-spellcheck: use ignore.dict from SOURCEDIR; remove spaces
This commit is contained in:
parent
d42c9a599a
commit
6332da81f4
6
Makefile
6
Makefile
@ -74,7 +74,7 @@ do-spellcheck:
|
||||
@echo "Performing a spellcheck on all Markdown files"
|
||||
|
||||
# Überprüft die staging Dateien auf Rechtschreibfehler
|
||||
@pandoc "$(STAGINGDIR)"/*.md -t plain | hunspell -d de_AT,de_AT_frami,en_US -p ignore.dict -l -t | sort | uniq > "$(SPELLERRORFILE)"
|
||||
@pandoc "$(STAGINGDIR)"/*.md -t plain | hunspell -d de_AT,de_AT_frami,en_US -p "$(SOURCEDIR)"/ignore.dict -l -t | sort | uniq > "$(SPELLERRORFILE)"
|
||||
|
||||
# Ausgabe der Rechtschreibfehler
|
||||
@cat "$(SPELLERRORFILE)" | sed 's/^/ /'
|
||||
@ -95,7 +95,3 @@ pdf: build-stage compile-pdf remove-stage
|
||||
|
||||
# Special Targets
|
||||
.PHONY: help pdf clean
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user