X-Git-Url: http://andersk.mit.edu/gitweb/libyaml.git/blobdiff_plain/028f3e8709fdd7574f34aa19dd600777a7d86289..8ee83c0da22fe9aa7dea667be8f899a7e32ffb83:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 1cf4114..c0cf7ce 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,15 +1,36 @@ ## Run `./bootstrap` to generate the "Makefile.in" files in this directory and -## the "$SUBDIR" subdirectories. +## the "$SUBDIRS" subdirectories. SUBDIRS = include src . tests -EXTRA_DIST = README LICENSE doc/doxygen.cfg +EXTRA_DIST = README LICENSE CMakeLists.txt doc/doxygen.cfg + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = yaml-0.1.pc maintainer-clean-local: - -rm -f aclocal.m4 config.h.in configure config/* + rm -f aclocal.m4 config.h.in configure config/* -find ${builddir} -name Makefile.in -exec rm -f '{}' ';' +distclean-local: + rm -fr tests/run-test-suite + -git worktree prune + .PHONY: bootstrap bootstrap: maintainer-clean ./bootstrap + ./configure + make + +test: all + make -C tests check-TESTS + +test-suite: tests/run-test-suite + make -C $< test + +test-all: test test-suite +tests/run-test-suite: + -git branch --track run-test-suite origin/run-test-suite + -git worktree prune + git worktree add $@ run-test-suite