]>
Commit | Line | Data |
---|---|---|
1 | ## Run `./bootstrap` to generate the "Makefile.in" files in this directory and | |
2 | ## the "$SUBDIRS" subdirectories. | |
3 | ||
4 | SUBDIRS = include src . tests | |
5 | ||
6 | EXTRA_DIST = README LICENSE CMakeLists.txt doc/doxygen.cfg | |
7 | ||
8 | pkgconfigdir = $(libdir)/pkgconfig | |
9 | pkgconfig_DATA = yaml-0.1.pc | |
10 | ||
11 | maintainer-clean-local: | |
12 | rm -f aclocal.m4 config.h.in configure config/* | |
13 | -find ${builddir} -name Makefile.in -exec rm -f '{}' ';' | |
14 | ||
15 | distclean-local: | |
16 | rm -fr tests/run-test-suite | |
17 | -git worktree prune | |
18 | ||
19 | .PHONY: bootstrap | |
20 | bootstrap: maintainer-clean | |
21 | ./bootstrap | |
22 | ./configure | |
23 | make | |
24 | ||
25 | test: all | |
26 | make -C tests check-TESTS | |
27 | ||
28 | test-suite: tests/run-test-suite | |
29 | make -C $< test | |
30 | ||
31 | test-all: test test-suite | |
32 | ||
33 | tests/run-test-suite: | |
34 | -git branch --track run-test-suite origin/run-test-suite | |
35 | -git worktree prune | |
36 | git worktree add $@ run-test-suite |