aboutsummaryrefslogtreecommitdiffstats
path: root/dmenu/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-11-18 23:23:40 +0100
committerMattias Andrée <maandree@kth.se>2023-11-18 23:23:40 +0100
commit0f1df0db903ba576fd17b08197d3066af7a61e5f (patch)
treea59c04307b1382257afa3c3512ec3abadf7e0e47 /dmenu/Makefile
parentUse losetup -d instead of --detach and add clean up (diff)
downloaddotfiles-0f1df0db903ba576fd17b08197d3066af7a61e5f.tar.gz
dotfiles-0f1df0db903ba576fd17b08197d3066af7a61e5f.tar.bz2
dotfiles-0f1df0db903ba576fd17b08197d3066af7a61e5f.tar.xz
A lot of changes
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--dmenu/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/dmenu/Makefile b/dmenu/Makefile
index 5ed7d04..d60be4d 100644
--- a/dmenu/Makefile
+++ b/dmenu/Makefile
@@ -1,23 +1,23 @@
.POSIX:
-include ../common.mk
install:
- $(CHECK_INSTALLED) dash
- $(CHECK_INSTALLED) vis
- make -C unicode.d
+ ../check-installed-shebang dmenu
+ ../check-installed-shebang ipa
+ ../check-installed-shebang unicode
+ ../check-installed-shebang plumb
+ ../check-in-path vis
+ cd unicode.d && make
mkdir -p -- ~/.local/bin
ln -sf -- ~/.dotfiles/dmenu/dmenu ~/.local/bin/
- ln -sf -- ~/.dotfiles/dmenu/man ~/.local/bin/
ln -sf -- ~/.dotfiles/dmenu/ipa ~/.local/bin/
ln -sf -- ~/.dotfiles/dmenu/unicode ~/.local/bin/
ln -sf -- ~/.dotfiles/dmenu/plumb ~/.local/bin/
uninstall:
+ +! ../check-installed dmenu
+ +! ../check-installed suckless-tools
-unlink -- ~/.local/bin/dmenu
- -unlink -- ~/.local/bin/man
-unlink -- ~/.local/bin/ipa
-unlink -- ~/.local/bin/unicode
-unlink -- ~/.local/bin/plumb
- -make -C unicode.d reallyclean
-
-.PHONY: install uninstall
+ -cd unicode.d && make reallyclean