From 374572486f07d375ad11ff9049e42b3bfe406d92 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 23 Apr 2016 02:50:12 +1200 Subject: Allow specifying color for tmux --- Makefile | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b515ea33..d05da53b 100644 --- a/Makefile +++ b/Makefile @@ -43,17 +43,28 @@ test-sh \ test-urxvt -all : gnupg +all : gnupg tmux clean : - rm -f gnupg/gpg.conf + rm -f \ + gnupg/gpg.conf \ + tmux/tmux.conf distclean : clean gnupg : gnupg/gpg.conf gnupg/gpg.conf : - m4 -D DOTFILES_HOME="$(HOME)" gnupg/gpg.conf.m4 > gnupg/gpg.conf + m4 -D DOTFILES_HOME="$(HOME)" \ + gnupg/gpg.conf.m4 > gnupg/gpg.conf + +TMUX_COLOR := colour237 + +tmux : tmux/tmux.conf + +tmux/tmux.conf : + m4 -D TMUX_COLOR="$(TMUX_COLOR)" \ + tmux/tmux.conf.m4 > tmux/tmux.conf install : install-bash \ install-curl \ @@ -184,7 +195,7 @@ install-terminfo : tic -- "$$info" ; \ done -install-tmux : +install-tmux : tmux/tmux.conf install -pm 0644 -- tmux/tmux.conf "$(HOME)"/.tmux.conf install-urxvt : test-urxvt -- cgit v1.2.3