aboutsummaryrefslogtreecommitdiffstats
path: root/libosmocore/Makefile.am
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-03-23 00:37:52 +0800
committerHarald Welte <laforge@gnumonks.org>2010-03-23 00:37:52 +0800
commitbb60e225a1b66771624e3235cb1f970f45b8a44d (patch)
treee20e980885b6dd228c2ba942ecf0775e29b1e6f0 /libosmocore/Makefile.am
parent5a29c7fa895a14112a1ac65e541f4b87ae9dba04 (diff)
parent4cd3d8a2c7982ba11d05d2500b1bfca44f440d1e (diff)
Merge commit '4cd3d8a2c7982ba11d05d2500b1bfca44f440d1e'
Diffstat (limited to 'libosmocore/Makefile.am')
-rw-r--r--libosmocore/Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/libosmocore/Makefile.am b/libosmocore/Makefile.am
index 8007b745..2adf5023 100644
--- a/libosmocore/Makefile.am
+++ b/libosmocore/Makefile.am
@@ -1,7 +1,14 @@
AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
+ACLOCAL_AMFLAGS = -I m4
INCLUDES = $(all_includes) -I$(top_srcdir)/include
SUBDIRS = include src tests
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libosmocore.pc
+
+BUILT_SOURCES = $(top_srcdir)/.version
+$(top_srcdir)/.version:
+ echo $(VERSION) > $@-t && mv $@-t $@
+dist-hook:
+ echo $(VERSION) > $(distdir)/.tarball-version