From b95e9e2dcf8af084365f107229412d88b53c41e1 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Tue, 20 Oct 1998 20:31:55 +0000 Subject: [PATCH] Don't hard-wire the program's version in configure.in, but use the VERSION file instead. Stolen from gnupg. --- VERSION | 1 + configure | 2 +- configure.in | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 VERSION diff --git a/VERSION b/VERSION new file mode 100644 index 000000000..1c2bbb1c7 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +0.94.13 diff --git a/configure b/configure index dbaa4f6c3..daa5da71a 100755 --- a/configure +++ b/configure @@ -734,7 +734,7 @@ fi PACKAGE=mutt -VERSION=0.94.13 +VERSION=`cat $srcdir/VERSION` if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } diff --git a/configure.in b/configure.in index d5f34b06f..ba8aa18ee 100644 --- a/configure.in +++ b/configure.in @@ -3,7 +3,7 @@ dnl $Id$ dnl Process this file with autoconf to produce a configure script. AC_INIT(mutt.h) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(mutt, 0.94.13) +AM_INIT_AUTOMAKE(mutt, `cat $srcdir/VERSION`) ALL_LINGUAS="de ru it" -- 2.40.0