aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-02 19:30:07 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-02 19:52:54 +1200
commitb1137539d0195b929d6d3b4a2576919ea5e58e03 (patch)
tree9724046e679f31580704fb2b6c02a69fcef4891f /Makefile
parentAdd shb(1) (diff)
downloaddotfiles-b1137539d0195b929d6d3b4a2576919ea5e58e03.tar.gz
dotfiles-b1137539d0195b929d6d3b4a2576919ea5e58e03.zip
kvlt(6)/zs(6) get shebangs from shb(1) at build
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4a41fd03..c863b17a 100644
--- a/Makefile
+++ b/Makefile
@@ -63,12 +63,22 @@ all : git/gitconfig gnupg/gpg.conf
clean distclean :
rm -f \
+ games/kvlt \
+ games/zs \
git/gitconfig \
gnupg/gpg.conf \
man/man7/dotfiles.7 \
mutt/muttrc \
tmux/tmux.conf
+games/kvlt : games/kvlt.sed
+ bin/shb games/kvlt.sed sed -f > "$@"
+ chmod +x "$@"
+
+games/zs : games/zs.sed
+ bin/shb games/zs.sed sed -f > "$@"
+ chmod +x "$@"
+
git/gitconfig : git/gitconfig.m4
m4 \
-D DOTFILES_NAME="$(NAME)" \
@@ -159,7 +169,7 @@ install-finger :
install -pm 0644 -- finger/project "$(HOME)"/.project
install -pm 0644 -- finger/pgpkey "$(HOME)"/.pgpkey
-install-games : test-games install-games-man
+install-games : games/kvlt games/zs test-games install-games-man
install -m 0755 -d -- "$(HOME)"/.local/games
install -m 0755 -- games/* "$(HOME)"/.local/games