aboutsummaryrefslogtreecommitdiffstats
path: root/dmenu/Makefile
diff options
context:
space:
mode:
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