aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-04-23 02:50:12 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-04-23 02:50:12 +1200
commit374572486f07d375ad11ff9049e42b3bfe406d92 (patch)
treed7c9abfba68f3b5825d871349907fd0e6a0ee169 /Makefile
parentAdd means to change prompt color (diff)
downloaddotfiles-374572486f07d375ad11ff9049e42b3bfe406d92.tar.gz
dotfiles-374572486f07d375ad11ff9049e42b3bfe406d92.zip
Allow specifying color for tmux
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 15 insertions, 4 deletions
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