verstaendliche Fehlermeldung, falls "linkchecker", "validate" oder "tofrodos" fehlt

This commit is contained in:
lars 2006-12-28 18:39:49 +00:00
parent d600034e0a
commit bbdf670c06
4 changed files with 43 additions and 9 deletions

View file

@ -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)