build: error out when check-augeas fails

Fixes: 2ffbdabb85

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Ján Tomko 2019-12-18 14:42:46 +01:00
parent c314222a01
commit d7c5679bc1

View File

@ -342,7 +342,7 @@ check-augeas: $(augeas_DATA) $(augeastest_DATA)
FILE=$$(basename "$$f"); \ FILE=$$(basename "$$f"); \
"$(AUGPARSE)" \ "$(AUGPARSE)" \
-I "$(srcdir)/$$DIR" -I "$(builddir)/$$DIR" \ -I "$(srcdir)/$$DIR" -I "$(builddir)/$$DIR" \
"$$DIR/$$FILE"; \ "$$DIR/$$FILE" || exit 1; \
done; \ done; \
fi fi
.PHONY: check-augeas .PHONY: check-augeas