aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 62bad69817d606dbf8213896856dbc04ad7afb9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6

SUBDIRS = include src tests doc contrib


# package the contrib and doc
EXTRA_DIST = \
	contrib/dump_docs.py \
	git-version-gen .version \
	README.md

AM_DISTCHECK_CONFIGURE_FLAGS = \
	--with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)

@RELMAKE@

BUILT_SOURCES = $(top_srcdir)/.version

$(top_srcdir)/.version:
	echo $(VERSION) > $@-t && mv $@-t $@
dist-hook:
	echo $(VERSION) > $(distdir)/.tarball-version