mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 08:45:04 -05:00
parent
8e8af407a9
commit
ff0ef6d212
3
Makefile
3
Makefile
@ -42,6 +42,9 @@ $(OUTDIR)/%.html: %.xml $(XMLDEPS) dependencies
|
||||
# TODO: After existing issues are worked out this and the ratcheting CI build
|
||||
# should be removed and become an error, not just a warning.
|
||||
xmllint --nonet --noout --noent --loaddtd --valid "$<" || true
|
||||
# Check for non-data URIs
|
||||
! xmllint --nonet --noout --noent --loaddtd --xpath "//img/@src[not(starts-with(., 'data:'))]" $< 2>/dev/null && true
|
||||
# Actually build the HTML
|
||||
xsltproc --path $(CURDIR) xep.xsl "$<" > "$@" && echo "Finished building $@"
|
||||
|
||||
$(OUTDIR)/%.js: %.js
|
||||
|
Loading…
Reference in New Issue
Block a user