diff options
author | Daniel Drake <dsd@laptop.org> | 2008-08-27 13:28:58 (GMT) |
---|---|---|
committer | Daniel Drake <dsd@laptop.org> | 2008-08-28 16:46:30 (GMT) |
commit | e9ec0b193ec70d11249c344bab592932a9979cca (patch) | |
tree | e27df24882bfb840a8a1a844ae802e1508467a80 | |
parent | ced012651a2e9bb07d7f911f629f7c0ad025b0e5 (diff) |
Make sucrose version number available in config
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | src/config.py.in | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 967b526..e63abf2 100644 --- a/configure.ac +++ b/configure.ac @@ -5,6 +5,9 @@ AC_PREREQ([2.59]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_SRCDIR([configure.ac]) +SUCROSE_VERSION="0.82" +AC_SUBST(SUCROSE_VERSION) + AM_INIT_AUTOMAKE([1.9 foreign dist-bzip2 no-dist-gzip]) AM_PATH_PYTHON diff --git a/src/config.py.in b/src/config.py.in index fb26181..f8e776f 100644 --- a/src/config.py.in +++ b/src/config.py.in @@ -16,4 +16,6 @@ prefix = '@prefix@' data_path = '@prefix@/share/sugar/data' -shell_path = '@prefix@/share/sugar/shell'
\ No newline at end of file +shell_path = '@prefix@/share/sugar/shell' +version = '@SUCROSE_VERSION@' + |