aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2014-09-16 04:33:34 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2014-09-16 04:33:34 +0100
commit938d91d2c37f8837e5e808c9315f551ac7bc4636 (patch)
treec03ab1ccc1d3e5814e5f88d68b264717de328f0a
parent93fe1b8659bb74a2931b857d8ba1231e151b770c (diff)
downloadrtmux-938d91d2c37f8837e5e808c9315f551ac7bc4636.tar.gz
rtmux-938d91d2c37f8837e5e808c9315f551ac7bc4636.tar.bz2
rtmux-938d91d2c37f8837e5e808c9315f551ac7bc4636.zip
Tweak www and add RELEASE variable for current release version so we don't need
to turn it back and forth when updating.
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac2
-rw-r--r--www/index.html.in11
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 @@
<div id="left-menu-container">
<p id="upper-left-title">tmux</p>
<ul id="left-menu">
- <li><a href="http://downloads.sourceforge.net/tmux/tmux-%%VERSION%%.tar.gz">Download</a></li>
+ <li><a href="http://downloads.sourceforge.net/tmux/tmux-%%RELEASE%%.tar.gz">Download</a></li>
<li><a href="https://sourceforge.net/p/tmux/tmux-code/ci/master/tree/README">README</a></li>
<li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tmux&sektion=1">Manual Page</a></li>
<li><a href="https://sourceforge.net/p/tmux/tmux-code/ci/master/tree/FAQ">FAQ</a></li>
@@ -31,9 +31,9 @@ background) and reattach them to a different terminal. And do a lot more. See
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tmux&sektion=1">
the manual</a>.</p>
-<p><b><a href="http://downloads.sourceforge.net/tmux/tmux-%%VERSION%%.tar.gz">
-Download tmux %%VERSION%%</a></b>
-<b><a href="https://sourceforge.net/p/tmux/tmux-code/ci/master/tree/CHANGES">(Changelog)</a></b> or
+<p><b><a href="http://downloads.sourceforge.net/tmux/tmux-%%RELEASE%%.tar.gz">
+Download tmux %%RELEASE%%</a></b>
+<b><a href="https://sourceforge.net/p/tmux/tmux-code/ci/master/tree/CHANGES">(changelog)</a></b> or
<a href="https://sourceforge.net/p/tmux/tmux-code/ci/master/tree/">
get the development version.</a>
tmux is hosted on
@@ -41,8 +41,7 @@ tmux is hosted on
and needs
<a href="http://www.monkey.org/~provos/libevent/">libevent</a>
and
-<a href="http://invisible-island.net/ncurses/">ncurses</a>
-.</p>
+<a href="http://invisible-island.net/ncurses/">ncurses</a>.</p>
<p>For support contact the
<a href="mailto:tmux-users@lists.sf.net">tmux-users@lists.sf.net</a>