Added spellcheck target
This commit is contained in:
parent
ae3a21224c
commit
447750f072
18
Makefile
18
Makefile
@ -27,9 +27,25 @@ help:
|
||||
@echo ' '
|
||||
@echo ' '
|
||||
|
||||
spellcheck:
|
||||
# Style in das staging Verzeichnis mergen
|
||||
@rsync -av $(SOURCEDIR)/ $(STAGINGDIR) \
|
||||
--cvs-exclude \
|
||||
--exclude=HTLLE-DA-Vorlage \
|
||||
--exclude=$(OUTPUTFILE) \
|
||||
--exclude=$(LOGFILE) \
|
||||
--quiet
|
||||
|
||||
# Ü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
|
||||
|
||||
#Remove the staging directory
|
||||
@echo "Removing the staging directory"
|
||||
@rm -rf $(STAGINGDIR)
|
||||
|
||||
@echo "finished."
|
||||
|
||||
pdf:
|
||||
|
||||
# Kopieren der DA-Quellen in das staging Verzeichnis
|
||||
@echo "Source directory = $(SOURCEDIR)"
|
||||
@echo "Copying source files into the staging directory"
|
||||
|
Loading…
Reference in New Issue
Block a user