-rm -f aclocal.m4 config.h.in configure config/*
-find ${builddir} -name Makefile.in -exec rm -f '{}' ';'
+distclean-local:
+ -rm -fr libyaml-test
+
.PHONY: bootstrap
bootstrap: maintainer-clean
./bootstrap
test: all
make -C tests check-TESTS
+
+test-suite: libyaml-test
+ (export LIBYAML_DIR=$$PWD; make -C $< test)
+
+libyaml-test:
+ git clone https://github.com/yaml/$@
+
+test-all: test test-suite