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

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

EXTRA_DIST = \
	.version \
	$(NULL)

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