summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 824b8ca089fe1e44a4d7feb2daaa55672c1d8b78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6

SUBDIRS = src tests contrib doc

BUILT_SOURCES = $(top_srcdir)/.version
EXTRA_DIST = git-version-gen osmoappdesc.py .version

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

@RELMAKE@

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