diff options
Diffstat (limited to 'openbsc/Makefile.am')
-rw-r--r-- | openbsc/Makefile.am | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/openbsc/Makefile.am b/openbsc/Makefile.am index 7acae7512..4ce11cec5 100644 --- a/openbsc/Makefile.am +++ b/openbsc/Makefile.am @@ -6,5 +6,8 @@ SUBDIRS = include src tests pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = openbsc.pc libsccp.pc -#dist-hook: -# rm -rf `find $(distdir) -name .svn` +BUILT_SOURCES = $(top_srcdir)/.version +$(top_srcdir)/.version: + echo $(VERSION) > $@-t && mv $@-t $@ +dist-hook: + echo $(VERSION) > $(distdir)/.tarball-version |