aboutsummaryrefslogtreecommitdiffstats
path: root/sudo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sudo/Makefile')
-rw-r--r--sudo/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/sudo/Makefile b/sudo/Makefile
new file mode 100644
index 0000000..479092b
--- /dev/null
+++ b/sudo/Makefile
@@ -0,0 +1,12 @@
+.POSIX:
+
+install:
+ mkdir -p -- ~/.config/bash/aliases.d
+ test ! -d ~/.config/bash/aliases.d/sudo
+ ln -sf -- ~/.dotfiles/sudo/bash-aliases ~/.config/bash/aliases.d/sudo
+
+uninstall:
+ -unlink -- ~/.config/bash/aliases.d/sudo
+ -rmdir -- ~/.config/bash/aliases.d
+
+.PHONY: install uninstall