diff --git a/Makefile b/Makefile index cfdc28351..5b58ea8fa 100644 --- a/Makefile +++ b/Makefile @@ -104,12 +104,6 @@ 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 xhtml5-validate` to make sure everything fits.' - @echo .PHONY: export export: www @@ -359,10 +353,6 @@ build/datenspuren/$(DS_YEAR)/pois.json: #build/autotopia/%.html: content/autotopia/%.xml $(AUTOTOPIA_STYLE) autotopia-events.xml # $(call xml_process) -xhtml5-validate: $(patsubst build/%.html, build/%.html.xhtml5-validate, $(CONTENT)) -build/%.html.xhtml5-validate: build/%.html - ./scripts/validate_xhtml5.sh $< - ### Die neuesten Chaosupdates holen ### #$(WWW_CCC_DE_UPDATES).orig: $(DATESTAMP) # $(RM) $@ diff --git a/scripts/validate_xhtml5.sh b/scripts/validate_xhtml5.sh deleted file mode 100755 index 6d0e6abda..000000000 --- a/scripts/validate_xhtml5.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -text=$(curl -s -d @$1 -H "Content-Type: application/xhtml+xml; charset=UTF-8" 'http://validator.nu/?out=text&preset=http://s.validator.nu/xhtml5-aria-rdf-svg-mathml.rnc+http://s.validator.nu/html5/assertions.sch+http://c.validator.nu/all/') - -if [ -n "$(echo "$text"|grep "The document validates according to the specified schema(s).")" ]; then - exit 0 -else - echo "=== $1 ===" - echo "$text" - exit 1 -fi -