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

SUBDIRS = \
	src \
	sql \
	tests \
	$(NULL)

EXTRA_DIST = \
	.version \
	$(NULL)

@RELMAKE@

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