]>
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 win32 | |
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 libyaml-test | |
17 | ||
18 | .PHONY: bootstrap | |
19 | bootstrap: maintainer-clean | |
20 | ./bootstrap | |
21 | ||
22 | test: all | |
23 | make -C tests check-TESTS | |
24 | ||
25 | test-suite: libyaml-test | |
26 | (export LIBYAML_DIR=$$PWD; make -C $< test) | |
27 | ||
28 | libyaml-test: | |
29 | git clone https://github.com/yaml/$@ | |
30 | ||
31 | test-all: test test-suite |