From 61a41dc80eb45d4c0b40f3e1bcc5b6b50e97e2ec Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 18 Jun 2008 16:34:48 +0000 Subject: [PATCH] To 0.4. Some other Makefile tweaks. --- CHANGES | 12 +++++++++++- Makefile | 9 ++++++--- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 47cb123e..a38d33c2 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,13 @@ +18 June 2008 + +* Scroll the status line to show the current window if necessary. Also handle + windows smaller than needed better (show a blank status line instead of + hanging or crashing). + +17 June 2008 + +* tmux 0.3 released. + 16 June 2008 * Add some information messages when window options are changed, suggested by @@ -482,4 +492,4 @@ (including mutt, emacs). No status bar yet and no key remapping or other customisation. -$Id: CHANGES,v 1.122 2008-06-16 17:35:40 nicm Exp $ +$Id: CHANGES,v 1.123 2008-06-18 16:34:48 nicm Exp $ diff --git a/Makefile b/Makefile index 6d2e9b72..d8c25a8e 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ -# $Id: Makefile,v 1.61 2008-06-16 06:10:02 nicm Exp $ +# $Id: Makefile,v 1.62 2008-06-18 16:34:48 nicm Exp $ .SUFFIXES: .c .o .y .h .PHONY: clean update-index.html upload-index.html PROG= tmux -VERSION= 0.2 +VERSION= 0.4 OS!= uname REL!= uname -r @@ -35,7 +35,7 @@ SRCS= tmux.c server.c server-msg.c server-fn.c buffer.c buffer-poll.c status.c \ CC?= cc INCDIRS+= -I. -I- -I/usr/local/include -CFLAGS+= -DBUILD="\"$(VERSION) ($(DATE))\"" -DMETA="'${META}'" +CFLAGS+= -DMETA="'${META}'" .ifdef PROFILE # Don't use ccache CC= /usr/bin/gcc @@ -44,6 +44,9 @@ CFLAGS+= -pg -DPROFILE -O0 .ifdef DEBUG CFLAGS+= -g -ggdb -DDEBUG LDFLAGS+= -Wl,-E +CFLAGS+= -DBUILD="\"$(VERSION) ($(DATE))\"" +.else +CFLAGS+= -DBUILD="\"$(VERSION)\"" .endif #CFLAGS+= -pedantic -std=c99 CFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2