verstaendliche Fehlermeldung, falls "linkchecker", "validate" oder "tofrodos" fehlt
This commit is contained in:
parent
d600034e0a
commit
bbdf670c06
4 changed files with 43 additions and 9 deletions
|
@ -33,6 +33,16 @@ all: $(EXPORT_DIRS)
|
|||
|
||||
# validate the html files
|
||||
validate: $(EXPORT_DIRS)
|
||||
@if which $(VALIDATE_BIN) >/dev/null ;\
|
||||
then true ;\
|
||||
else echo >&2 ;\
|
||||
echo >&2 "*****************************************************************" ;\
|
||||
echo >&2 "* Could not find the html-checker '$(VALIDATE_BIN)'! *" ;\
|
||||
echo >&2 "* Debian users should run 'apt-get install wdg-html-validator'. *" ;\
|
||||
echo >&2 "*****************************************************************";\
|
||||
echo >&2 ;\
|
||||
false ;\
|
||||
fi
|
||||
@$(VALIDATE_BIN) $(shell find . -name *.html -type f)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue