Let's try setting up the version number via configure.ac
Why not?
This commit is contained in:
parent
743af6ba13
commit
e6121708e5
1
.gitignore
vendored
1
.gitignore
vendored
@ -32,6 +32,7 @@
|
|||||||
|
|
||||||
# pyconfigure/automake generated files
|
# pyconfigure/automake generated files
|
||||||
/Makefile
|
/Makefile
|
||||||
|
/mediagoblin/_version.py
|
||||||
/autom4te.cache/
|
/autom4te.cache/
|
||||||
/config.log
|
/config.log
|
||||||
/config.status
|
/config.status
|
||||||
|
12
configure.ac
12
configure.ac
@ -46,6 +46,16 @@ dnl 2) package version (i.e. 1.2)
|
|||||||
dnl 3) bug/info/project email address (i.e. bug-foo@gnu.org)
|
dnl 3) bug/info/project email address (i.e. bug-foo@gnu.org)
|
||||||
dnl----
|
dnl----
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
|
dnl # valid version formats:
|
||||||
|
dnl # * x.y - final release
|
||||||
|
dnl # * x.ya1 - alpha 1
|
||||||
|
dnl # * x.yb1 - beta 1
|
||||||
|
dnl # * x.yrc1 - release candidate 1
|
||||||
|
dnl # * x.y.dev - dev
|
||||||
|
dnl
|
||||||
|
dnl # see http://www.python.org/dev/peps/pep-0386/
|
||||||
|
|
||||||
AC_INIT([mediagoblin], [0.8.1.dev], [cwebber@gnu.org])
|
AC_INIT([mediagoblin], [0.8.1.dev], [cwebber@gnu.org])
|
||||||
|
|
||||||
|
|
||||||
@ -145,7 +155,7 @@ dnl Finish #
|
|||||||
dnl#########
|
dnl#########
|
||||||
|
|
||||||
dnl Define the files to be configured
|
dnl Define the files to be configured
|
||||||
AC_CONFIG_FILES([Makefile])
|
AC_CONFIG_FILES([Makefile] [mediagoblin/_version.py])
|
||||||
|
|
||||||
dnl Generate config.status
|
dnl Generate config.status
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
@ -23,4 +23,4 @@
|
|||||||
|
|
||||||
# see http://www.python.org/dev/peps/pep-0386/
|
# see http://www.python.org/dev/peps/pep-0386/
|
||||||
|
|
||||||
__version__ = "0.7.2.dev"
|
__version__ = "@PACKAGE_VERSION@"
|
Loading…
x
Reference in New Issue
Block a user