aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: e64db39a87b0d59653d293ad1e1d76d055e3a060 (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
AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6

SUBDIRS = include src tests doc contrib


# package the contrib and doc
EXTRA_DIST = \
	.version \
	README.md \
	contrib/dump_docs.py \
	contrib/osmo-bts.spec.in \
	debian \
	git-version-gen \
	$(NULL)

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