From 69f3aab45900176ffdf36567b74e5689501b6c90 Mon Sep 17 00:00:00 2001 From: Sam Whited Date: Sun, 19 Feb 2017 22:36:24 -0600 Subject: [PATCH] Don't check for trailing whitespace during build This should be checked during CI Revert "Makefile: Check for trailing whitespaces when building a XEP." This reverts commit 16700d9f305e700fbaab4af7bf4e7d5bba8e2df1. --- Makefile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Makefile b/Makefile index 170c2cd6..69ac69ac 100644 --- a/Makefile +++ b/Makefile @@ -59,8 +59,6 @@ $(REFSDIR)/reference.XSF.XEP-%.xml: xep-%.xml $(XMLDEPS) ref.xsl $(REFSDIR) xsltproc --path $(CURDIR) ref.xsl "$<" > "$@" && echo "Finished building $@" $(OUTDIR)/%.html: %.xml $(XMLDEPS) $(HTMLDEPS) - ! grep -nr \\s$$ $@ - xmllint --nonet --noout --noent --loaddtd --valid "$<" # Check for non-data URIs ! xmllint --nonet --noout --noent --loaddtd --xpath "//img/@src[not(starts-with(., 'data:'))]" $< 2>/dev/null && true @@ -72,8 +70,6 @@ $(OUTDIR)/xmpp.pdf $(OUTDIR)/xmpp-text.pdf: $(OUTDIR) cp "resources/$(notdir $@)" "$@" $(OUTDIR)/%.pdf: %.xml $(XMLDEPS) $(TEXMLDEPS) - ! grep -nr \\s$$ $@ - xmllint --nonet --noout --noent --loaddtd --valid "$<" # Check for non-data URIs ! xmllint --nonet --noout --noent --loaddtd --xpath "//img/@src[not(starts-with(., 'data:'))]" $< 2>/dev/null && true