|
|
|
@ -30,8 +30,8 @@ DESTDIR?=www-export
|
|
|
|
|
|
|
|
|
|
### Ressourcen ###
|
|
|
|
|
# XSLT-Stylesheets:
|
|
|
|
|
STYLE=xsl/html5.xsl
|
|
|
|
|
DS_STYLE=xsl/datenspuren/html5.xsl
|
|
|
|
|
STYLE=xsl/xhtml5.xsl
|
|
|
|
|
DS_STYLE=xsl/datenspuren/xhtml5.xsl
|
|
|
|
|
# Document-Type-Definition:
|
|
|
|
|
DTD:=dtd/c3d2web.dtd
|
|
|
|
|
# XML-Katalog (Pfad zu den DTDs) - wird benötigt vom Validator
|
|
|
|
@ -90,7 +90,7 @@ www: $(XML_CATALOG) $(CONTENT)
|
|
|
|
|
@echo
|
|
|
|
|
@echo 'Great!'
|
|
|
|
|
@echo
|
|
|
|
|
@echo 'You may now run `make -j3 html5-validate` to make sure everything fits.'
|
|
|
|
|
@echo 'You may now run `make -j3 xhtml5-validate` to make sure everything fits.'
|
|
|
|
|
@echo
|
|
|
|
|
|
|
|
|
|
.PHONY: export
|
|
|
|
@ -207,8 +207,8 @@ 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
|
|
|
|
|
|
|
|
|
|
html5-validate: $(patsubst build/%.html, build/%.html.html5-validate, $(CONTENT))
|
|
|
|
|
build/%.html.html5-validate: build/%.html
|
|
|
|
|
xhtml5-validate: $(patsubst build/%.html, build/%.html.xhtml5-validate, $(CONTENT))
|
|
|
|
|
build/%.html.xhtml5-validate: build/%.html
|
|
|
|
|
./scripts/validate_xhtml5.sh $<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|