aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--Makefile12
-rw-r--r--[-rwxr-xr-x]games/kvlt.sed (renamed from games/kvlt)1
-rw-r--r--[-rwxr-xr-x]games/zs.sed (renamed from games/zs)1
4 files changed, 13 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index b5b1bf83..e6098c28 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
+games/kvlt
+games/zs
git/gitconfig
gnupg/gpg.conf
man/man7/dotfiles.7
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
diff --git a/games/kvlt b/games/kvlt.sed
index e10b0f9d..1cb06b5a 100755..100644
--- a/games/kvlt
+++ b/games/kvlt.sed
@@ -1,4 +1,3 @@
-#!/bin/sed -f
# Type like a young black metal enthusiast
# Lowercase to capitals
diff --git a/games/zs b/games/zs.sed
index 728156ba..3d64b4ea 100755..100644
--- a/games/zs
+++ b/games/zs.sed
@@ -1,4 +1,3 @@
-#!/bin/sed -f
# Prepend z appropriately to occurrences of s, in order to make fun of bezrend
s,^s,zs,g
s,^S\([a-z]\),Zs\1,g