File: Makefile.am

package info (click to toggle)
libneo4j-client 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 3,444 kB
  • ctags: 2,333
  • sloc: ansic: 24,977; sh: 4,261; makefile: 206
file content (39 lines) | stat: -rw-r--r-- 1,105 bytes parent folder | download | duplicates (2)
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
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
	docker run --rm -v $(abs_builddir):/$(PACKAGE) -ti debian-unstable-dev \
		sh -c 'tar xzmf /$(PACKAGE)/$(DIST_ARCHIVES) && cd $(distdir) && ./configure --enable-silent-rules && make check'

docker-valgrind:
	$(MAKE) dist
	docker run --rm -v $(abs_builddir):/$(PACKAGE) -ti debian-unstable-dev \
		sh -c 'tar xzmf /$(PACKAGE)/$(DIST_ARCHIVES) && cd $(distdir) && ./configure --enable-silent-rules --disable-debug && make check && CK_FORK=no valgrind --suppressions="/$(PACKAGE)/valgrind.suppressions" --leak-check=full --show-leak-kinds=all ./tests/check_$(PACKAGE)'

clean-local:
	rm -rf doc src/.doc