[ofa-general] [PATCH] opensm/Makefile.am: update configure.in version on 'make dist'
Sasha Khapyorsky
sashak at voltaire.com
Sun Jan 6 15:12:21 PST 2008
This updates the package version stored in configure.in in newly created
by 'make dist' package tarball. The version is generated by gen_ver.sh
in accordance with the tree state.
Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
opensm/Makefile.am | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/opensm/Makefile.am b/opensm/Makefile.am
index 0c817ae..4474493 100644
--- a/opensm/Makefile.am
+++ b/opensm/Makefile.am
@@ -31,3 +31,7 @@ dist-hook: $(EXTRA_DIST)
if [ -x $(top_srcdir)/../gen_chlog.sh ] ; then \
$(top_srcdir)/../gen_chlog.sh $(PACKAGE) > $(distdir)/ChangeLog ; \
fi
+ if [ -x $(top_srcdir)/../gen_ver.sh ] ; then \
+ ver=`$(top_srcdir)/../gen_ver.sh $(PACKAGE)` ; \
+ sed -e '/AC_INIT/s/$(PACKAGE), .*,/$(PACKAGE), '$$ver',/' $(top_srcdir)/configure.in > $(distdir)/configure.in ; \
+ fi
--
1.5.4.rc2.38.gd6da3
More information about the general
mailing list