-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
46 lines (33 loc) · 1023 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
## Run `./bootstrap` to generate the "Makefile.in" files in this directory and
## the "$SUBDIRS" subdirectories.
SUBDIRS = include src . tests
EXTRA_DIST = Changes ReadMe.md 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/*
-find ${builddir} -name Makefile.in -exec rm -f '{}' ';'
distclean-local:
rm -fr tests/run-test-suite packaging
-git worktree prune
.PHONY: bootstrap
bootstrap: maintainer-clean
./bootstrap
./configure
make
test: all
make -C tests check-TESTS
test-suite: tests/run-test-suite all
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
packaging:
-git branch --track $@ origin/$@
git worktree add --force $@ $@
docker-dist: packaging
make -C $</docker libyaml-dist
docker-test-pyyaml: packaging
make -C $</docker test-pyyaml