summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: 84b252ad50f225f752ccff36c4c659709d11d523 (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

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