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 <[EMAIL PROTECTED]>
---
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
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general