aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-14 14:39:09 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-14 14:39:48 +1200
commit2d20e84c042832eda21b557b015cfa9ba53439af (patch)
treeda78d68149182354567e1ffd08eaa4de090bff2f /Makefile
parentAdd tentative enhancements to br(1) (diff)
downloaddotfiles-2d20e84c042832eda21b557b015cfa9ba53439af.tar.gz
dotfiles-2d20e84c042832eda21b557b015cfa9ba53439af.zip
Add sd2u(1) and su2d(1)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 89dc5ab2..599eb315 100644
--- a/Makefile
+++ b/Makefile
@@ -60,10 +60,12 @@ EMAIL := tom@sanctum.geek.nz
KEY := 0xC14286EA77BB8872
SENDMAIL := /usr/bin/msmtp
-all : bin/unf git/gitconfig gnupg/gpg.conf
+all : bin/sd2u bin/su2d bin/unf git/gitconfig gnupg/gpg.conf
clean distclean :
rm -f \
+ bin/sd2u \
+ bin/su2d \
bin/unf \
games/acq \
games/kvlt \
@@ -74,6 +76,14 @@ clean distclean :
mutt/muttrc \
tmux/tmux.conf
+bin/sd2u : bin/sd2u.sed
+ bin/shb bin/sd2u.sed sed -f > "$@"
+ chmod +x "$@"
+
+bin/su2d : bin/su2d.sed
+ bin/shb bin/su2d.sed sed -f > "$@"
+ chmod +x "$@"
+
bin/unf : bin/unf.sed
bin/shb bin/unf.sed sed -f > "$@"
chmod +x "$@"
@@ -150,7 +160,7 @@ install-bash-completion : install-bash
install -pm 0644 -- bash/bash_completion "$(HOME)"/.config/bash_completion
install -pm 0644 -- bash/bash_completion.d/* "$(HOME)"/.bash_completion.d
-install-bin : bin/unf test-bin install-bin-man
+install-bin : bin/sd2u bin/su2d bin/unf test-bin install-bin-man
install -m 0755 -d -- "$(HOME)"/.local/bin
install -m 0755 -- bin/* "$(HOME)"/.local/bin