summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 7da967d8cc660aa565beeaf4a44667187acb5392 (plain)
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
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = libcnary src include tools docs

if HAVE_CYTHON
SUBDIRS += cython
endif

if BUILD_TESTS
SUBDIRS += test
endif

if BUILD_FUZZERS
SUBDIRS += fuzz
endif

EXTRA_DIST = \
	README.md \
	git-version-gen

dist-hook:
	echo $(VERSION) > $(distdir)/.tarball-version

docs/html: $(top_builddir)/doxygen.cfg $(top_srcdir)/include/plist/*.h
	rm -rf docs/html
	doxygen doxygen.cfg

docs: doxygen.cfg docs/html