Commit e53f20a3 authored by panne's avatar panne
Browse files

[project @ 2004-08-31 16:19:54 by panne]

Fixed version/release magic. Actually I think we're doing things the wrong way
here: We should use AC_INIT with a version parameter as the central place for
this info and substitute what's needed into the rest of the files.
parent 338dbad4
# Initialise and check sanity.
# Compute the version number.
version=`sed -e 's/.*\([[0-9]]\)\.\([[0-9]]*\).*/\1.\2/' VERSION`
# ToDo: CVS snapshots should probably use the date here
# These are needed by the .spec file.
# Compute the version number and the release, they are needed by the .spec file.
AC_SUBST([version], [[`sed 's/.* version \([0-9][0-9.]*\).*/\1/' VERSION`]])
AC_SUBST([release], [1])
# Write the results...
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment