aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-06-25 11:50:32 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-06-25 11:50:32 +1200
commit4070bf055a2210ee493c0b022438056ac432fe7c (patch)
tree0e28c1feb15c1fa07951a55576677d3a0c87dd49 /Makefile
parentOnly install manpages with correct suffix (diff)
downloaddotfiles-4070bf055a2210ee493c0b022438056ac432fe7c.tar.gz
dotfiles-4070bf055a2210ee493c0b022438056ac432fe7c.zip
Specify target dependencies
So that they get remade if their source files are newer
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5bb785b3..d703e931 100644
--- a/Makefile
+++ b/Makefile
@@ -56,13 +56,13 @@ clean distclean :
gnupg : gnupg/gpg.conf
-gnupg/gpg.conf :
+gnupg/gpg.conf : gnupg/gpg.conf.m4
m4 -D DOTFILES_HOME="$(HOME)" \
gnupg/gpg.conf.m4 > gnupg/gpg.conf
dotfiles-man : man/man7/dotfiles.7
-man/man7/dotfiles.7 :
+man/man7/dotfiles.7 : README.markdown man/man7/dotfiles.7.header
cat man/man7/dotfiles.7.header README.markdown | \
pandoc -sS -t man -o "$@"
@@ -70,7 +70,7 @@ TMUX_COLOR := colour237
tmux : tmux/tmux.conf
-tmux/tmux.conf :
+tmux/tmux.conf : tmux/tmux.conf.m4
m4 -D TMUX_COLOR="$(TMUX_COLOR)" \
tmux/tmux.conf.m4 > tmux/tmux.conf