aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: b36524da8f1406e85bbc0c4448b50905c1934251 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
AUTOMAKE_OPTIONS= foreign

ACLOCAL_AMFLAGS = -I m4

SUBDIRS = po src test

if ENABLE_DOCS
SUBDIRS += doc
endif

EXTRA_DIST = \
	INSTALL \
	ABOUT-NLS

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

dist-hook:
	echo $(VERSION) > $(distdir)/.version