diff --git a/Makefile.man-page-rules b/Makefile.man-page-rules new file mode 100644 index 0000000000..05a5de06a2 --- /dev/null +++ b/Makefile.man-page-rules @@ -0,0 +1,29 @@ +# Copyright (c) 2008 Cisco Systems, Inc. All rights reserved. +# Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved. +# $COPYRIGHT$ +# +# Additional copyrights may follow +# +# $HEADER$ +# + +.1in.1: + @ echo Creating $@ man page... + @ sed -e 's/#PACKAGE_NAME#/@PACKAGE_NAME@/g' \ + -e 's/#PACKAGE_VERSION#/@PACKAGE_VERSION@/g' \ + -e 's/#OMPI_DATE#/@OMPI_RELEASE_DATE@/g' \ + > $@ < $< + +.3in.3: + @ echo Creating $@ man page... + @ sed -e 's/#PACKAGE_NAME#/@PACKAGE_NAME@/g' \ + -e 's/#PACKAGE_VERSION#/@PACKAGE_VERSION@/g' \ + -e 's/#OMPI_DATE#/@OMPI_RELEASE_DATE@/g' \ + > $@ < $< + +.7in.7: + @ echo Creating $@ man page... + @ sed -e 's/#PACKAGE_NAME#/@PACKAGE_NAME@/g' \ + -e 's/#PACKAGE_VERSION#/@PACKAGE_VERSION@/g' \ + -e 's/#OMPI_DATE#/@OMPI_RELEASE_DATE@/g' \ + > $@ < $< diff --git a/VERSION b/VERSION index a9870c55c6..9cce50b754 100644 --- a/VERSION +++ b/VERSION @@ -1,3 +1,6 @@ +# Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved. +# Copyright (c) 2008 Cisco Systems, Inc. All rights reserved. + # This is the VERSION file for Open MPI, describing the precise # version of Open MPI in this distribution. The various components of # the version number below are combined to form a single version @@ -35,3 +38,7 @@ want_svn=1 # of svn_r in this file is replaced with the output of "svnversion". svn_r=-1 + +# The date when this release was created + +date="Unreleased developer copy" diff --git a/config/ompi_get_version.m4 b/config/ompi_get_version.m4 index 7c13dbc70c..3fcd45a390 100644 --- a/config/ompi_get_version.m4 +++ b/config/ompi_get_version.m4 @@ -35,6 +35,7 @@ dnl # prefix_GREEK_VERSION # prefix_WANT_SVN # prefix_SVN_R +# prefix_RELEASE_DATE m4_define([OMPI_GET_VERSION],[ : ${ompi_ver_need_svn=1} : ${srcdir=.} @@ -51,6 +52,7 @@ m4_define([OMPI_GET_VERSION],[ s/^greek/$2_GREEK_VERSION/ s/^want_svn/$2_WANT_SVN/ s/^svn_r/$2_SVN_R/ + s/^date/$2_RELEASE_DATE/ t print b : print diff --git a/config/ompi_get_version.m4sh b/config/ompi_get_version.m4sh index f3c6df2b99..97601a5d3e 100644 --- a/config/ompi_get_version.m4sh +++ b/config/ompi_get_version.m4sh @@ -14,6 +14,7 @@ m4_divert_push([SCRIPT])dnl # University of Stuttgart. All rights reserved. # Copyright (c) 2004-2005 The Regents of the University of California. # All rights reserved. +# Copyright (c) 2008 Cisco Systems, Inc. All rights reserved. # $COPYRIGHT$ # # Additional copyrights may follow @@ -68,6 +69,9 @@ case "$option" in --base) echo $OMPI_BASE_VERSION ;; + --release-date) + echo $OMPI_RELEASE_DATE + ;; --all) echo ${OMPI_VERSION} ${OMPI_MAJOR_VERSION} ${OMPI_MINOR_VERSION} ${OMPI_RELEASE_VERSION} ${OMPI_GREEK_VERSION} ${OMPI_SVN_R} ;; @@ -77,15 +81,16 @@ $0 [