Makefile: hint about html5-validator target

This commit is contained in:
Astro 2010-11-09 23:14:45 +01:00
parent 60c0085f9f
commit a093e895cf
1 changed files with 6 additions and 2 deletions

View File

@ -86,6 +86,12 @@ endef
.PHONY: www
www: $(XML_CATALOG) $(CONTENT)
$(RSYNC) $(RSYNC_FLAGS) --exclude=".stamp-*" content/static/ content/old-site/ build/ $@
@echo
@echo
@echo 'Great!'
@echo
@echo 'You may now run `make -j3 html5-validate` to make sure everything fits.'
@echo
.PHONY: export
export: www
@ -201,9 +207,7 @@ build/datenspuren/news-atom.xml : NOVALID:=true
build/datenspuren/news-atom.xml : PFLAGS+=--stringparam prefix ds09-
build/datenspuren/news-atom.xml : VFLAGS_OUT=$(VFLAGS) --relaxng xsd/atom.rng
.PHONY: html5-validate
html5-validate: $(patsubst build/%.html, build/%.html.html5-validate, $(CONTENT))
.PHONY: build/%.html.html5-validate
build/%.html.html5-validate: build/%.html
./scripts/validate_xhtml5.sh $<