forked from cleishm/libneo4j-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
46 lines (36 loc) · 1.36 KB
/
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
include aminclude.am
SUBDIRS = m4 src .
ACLOCAL_AMFLAGS = -I m4
man1_MANS = neo4j-client.1
if HAVE_CHECK
SUBDIRS += tests
endif
doc: doxygen-doc
doc/libneo4j-client.tag: src/.doc/neo4j-client.h
src/.doc/neo4j-client.h: src/lib/neo4j-client.h
@mkdir -p src/.doc
(cat "$<" && sed -ne "s/^.*@fn \(.*\)$$/\1;/p" < "$<") >> "$@"
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = neo4j-client.pc
EXTRA_DIST = \
doxygen.cfg \
LICENSE \
neo4j-client.1.in \
README.md
docker-check:
$(MAKE) dist
id=`docker create -i debian-unstable-dev \
sh -c 'cd $(PACKAGE_TARNAME)-$(PACKAGE_VERSION) && ./configure --enable-silent-rules && CK_TIMEOUT_MULTIPLIER=2 make check'` && \
trap "docker rm $$id" EXIT && \
docker cp - $$id:/ < $(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.gz && \
docker start -i $$id
docker-valgrind:
$(MAKE) dist
id=`docker create -i debian-unstable-dev \
sh -c 'cd $(PACKAGE_TARNAME)-$(PACKAGE_VERSION) && ./configure --enable-silent-rules && CK_TIMEOUT_MULTIPLIER=2 make check && CK_FORK=no CK_TIMEOUT_MULTIPLIER=2 valgrind --suppressions=valgrind.suppressions --leak-check=full ./tests/check_libneo4j-client'` && \
trap "docker rm $$id" EXIT && \
docker cp - $$id:/ < $(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.gz && \
docker cp valgrind.suppressions $$id:/$(PACKAGE_TARNAME)-$(PACKAGE_VERSION) && \
docker start -i $$id
clean-local:
rm -rf doc src/.doc