aboutsummaryrefslogtreecommitdiffstats
path: root/makeenv
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-02-18 11:41:12 +0100
committerMattias Andrée <maandree@kth.se>2024-02-18 11:41:12 +0100
commitd37c4d741cca6335a286e882877ec08a75cf149f (patch)
tree487dbeded41451bcb9cc529b34e8b5800c82c608 /makeenv
parentgit/new-c-proj: add .hidden and .makeenv to .git/info/exclude (diff)
downloaddotfiles-d37c4d741cca6335a286e882877ec08a75cf149f.tar.gz
dotfiles-d37c4d741cca6335a286e882877ec08a75cf149f.tar.bz2
dotfiles-d37c4d741cca6335a286e882877ec08a75cf149f.tar.xz
Add makeenv
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'makeenv')
-rw-r--r--makeenv/Makefile14
-rw-r--r--makeenv/bash-aliases3
2 files changed, 17 insertions, 0 deletions
diff --git a/makeenv/Makefile b/makeenv/Makefile
new file mode 100644
index 0000000..2e9f6e4
--- /dev/null
+++ b/makeenv/Makefile
@@ -0,0 +1,14 @@
+.POSIX:
+
+install:
+ mkdir -p -- ~/.config/bash/aliases.d
+ test ! -d ~/.config/bash/aliases.d/makeenv
+ ln -sf -- ~/.dotfiles/makeenv/bash-aliases ~/.config/bash/aliases.d/makeenv
+
+uninstall:
+ +! ../check-installed makeenv
+ -unlink -- ~/.config/bash/aliases.d/makeenv
+ -rmdir -- ~/.config/bash/aliases.d
+
+clean:
+ @:
diff --git a/makeenv/bash-aliases b/makeenv/bash-aliases
new file mode 100644
index 0000000..2e22c1e
--- /dev/null
+++ b/makeenv/bash-aliases
@@ -0,0 +1,3 @@
+# -*- shell-script -*-
+
+alias make=makeenv