From 938d91d2c37f8837e5e808c9315f551ac7bc4636 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 16 Sep 2014 04:33:34 +0100 Subject: [PATCH] Tweak www and add RELEASE variable for current release version so we don't need to turn it back and forth when updating. --- Makefile.am | 2 +- configure.ac | 2 ++ www/index.html.in | 11 +++++------ 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Makefile.am b/Makefile.am index 9fcb45f0..04107abd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -267,4 +267,4 @@ update-index.html: convert "$$i" -resize 200x150 "small-$$i"; \ done \ ) - sed "s/%%VERSION%%/${VERSION}/g" www/index.html.in >www/index.html + sed "s/%%RELEASE%%/${RELEASE}/g" www/index.html.in >www/index.html diff --git a/configure.ac b/configure.ac index 17cd0da6..b524ff8e 100644 --- a/configure.ac +++ b/configure.ac @@ -2,6 +2,8 @@ # Miscellaneous autofoo bullshit. AC_INIT(tmux, 2.0) +RELEASE=1.9a +AC_SUBST(RELEASE) AC_CONFIG_AUX_DIR(etc) AM_INIT_AUTOMAKE([foreign subdir-objects]) diff --git a/www/index.html.in b/www/index.html.in index 002a473f..e9ec46bd 100644 --- a/www/index.html.in +++ b/www/index.html.in @@ -11,7 +11,7 @@

tmux