summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2017-06-15 10:19:46 +0200
committerLeif Johansson <leifj@sunet.se>2017-06-15 10:19:46 +0200
commitf482ec076e0306978f8e3ee784050bc26fbe01ba (patch)
treead3bc405b1acc7678b2c28d4ad00138a24a9e0fe /Makefile
parent05e99d078651208a4944fb1297fbe015c0ba60df (diff)
parent340ef5a189215f07afc8778295b4482b8ae46793 (diff)
Merge branch 'master' of md-master.swamid.se:swamid-metadata
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d7b83e79..cbe37e44 100644
--- a/Makefile
+++ b/Makefile
@@ -95,7 +95,7 @@ test: clean dependencies schematest
pedantic: clean dependencies schematest testRefedsRnS testGeantCoCo
schematest:
- @for x in $(MXML); do test=`xmllint --xinclude --nowarning --noout --path schema --schema schema.xsd $$x 2>&1`; rc=$$?; echo $$test | sed 's/fails to validate/&/;s/validates/&/'; if [ $$rc -gt 0 ]; then exit 1; fi; done
+ @fail=false ; for x in $(MXML); do test=`xmllint --xinclude --nowarning --noout --path schema --schema schema.xsd $$x 2>&1`; rc=$$?; echo $$test | sed 's/fails to validate/&/;s/validates/&/'; if [ $$rc -gt 0 ]; then fail=true ; fi; done ; if $$fail ; then exit 1 ; fi
clean:
@rm -f *.xml *.tbs *.n *.sig