[Opensrf-commits] [GIT] OpenSRF branch origin created. 19431b88f288f785b840887e4f663af5a5f0edbe

Evergreen Git git at git.evergreen-ils.org
Mon May 16 15:59:24 EDT 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OpenSRF".

The branch, origin has been created
        at  19431b88f288f785b840887e4f663af5a5f0edbe (commit)

- Log -----------------------------------------------------------------
commit 19431b88f288f785b840887e4f663af5a5f0edbe
Author: Dan Scott <dan at coffeecode.net>
Date:   Mon May 16 15:08:04 2011 -0400

    Define version number in one place
    
    Adding the version.m4 macro defines VERSION_NUMBER for us in
    one place so that we can simplify package releases (and fix
    'osrf_config --version' output so that it does not always
    tell us 'trunk').
    
    Signed-off-by: Dan Scott <dscott at laurentian.ca>

diff --git a/configure.ac b/configure.ac
index 2b60acb..9dc04ab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,9 +20,10 @@
 #-------------------------------
 
 export PATH=${PATH}:/usr/sbin
+m4_include([version.m4])
 AC_PREREQ(2.59)
-AC_INIT([OpenSRF],[trunk],[open-ils-dev at list.georgialibraries.org])
-AM_INIT_AUTOMAKE([OpenSRF], [trunk])
+AC_INIT([OpenSRF],m4_defn([VERSION_NUMBER]),[open-ils-dev at list.georgialibraries.org])
+AM_INIT_AUTOMAKE([OpenSRF], m4_defn([VERSION_NUMBER]))
 AC_REVISION($Revision: 0.1 $)
 AC_CONFIG_SRCDIR([configure.ac])
 AC_PREFIX_DEFAULT([/opensrf])
diff --git a/version.m4 b/version.m4
new file mode 100644
index 0000000..5c284f9
--- /dev/null
+++ b/version.m4
@@ -0,0 +1 @@
+m4_define([VERSION_NUMBER],[master]) 

-----------------------------------------------------------------------


hooks/post-receive
-- 
OpenSRF


More information about the opensrf-commits mailing list