Wed Jul 21 22:33:43 PDT 2004
- Previous message: [Slony1-commit] By darcyb: m4'ize the AC_INIT to allow for easy release version
- Next message: [Slony1-commit] By darcyb: Make use of a more portable compound sed string Also it turns
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Finnalize autoversion nameing, HEAD-`date` if no version availabale
Modified Files:
--------------
slony1-engine:
configure.ac (r1.27 -> r1.28)
-------------- next part --------------
Index: configure.ac
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/configure.ac,v
retrieving revision 1.27
retrieving revision 1.28
diff -Lconfigure.ac -Lconfigure.ac -u -w -r1.27 -r1.28
--- configure.ac
+++ configure.ac
@@ -10,8 +10,9 @@
#
# Process this file with autoconf to produce a configure script.
# ----------
-m4_define([REL_VERSION],$Name$)
-AC_INIT(postgresql-slony1-engine,[REL_VERSION])
+m4_define([SLONREL_VERSION], esyscmd([echo "$Name$" | sed -e 's/\: REL_//;s/\$//g;s/_/./g;s/\./\-/3;s/\ //g'| tr -d '\n']))
+ifelse([SLONREL_VERSION],`:',m4_define([SLONREL_VERSION], esyscmd([echo `date +HEAD-%Y%m%d`|tr -d '\n'])))
+AC_INIT(postgresql-slony1-engine,[SLONREL_VERSION])
AC_CONFIG_HEADERS(config.h)
AC_CONFIG_AUX_DIR(config)
AC_CONFIG_SRCDIR([src])
- Previous message: [Slony1-commit] By darcyb: m4'ize the AC_INIT to allow for easy release version
- Next message: [Slony1-commit] By darcyb: Make use of a more portable compound sed string Also it turns
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list