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

INCLUDES = $(all_includes) -I$(top_srcdir)/include
SUBDIRS = doc include src tests

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = openbsc.pc

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