summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 5dd1ed9974bcd1b728d340c6b7e430b1966b31c7 (plain)
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

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