aboutsummaryrefslogtreecommitdiffstats
path: root/dmenu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dmenu/Makefile')
-rw-r--r--dmenu/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/dmenu/Makefile b/dmenu/Makefile
new file mode 100644
index 0000000..151ba9c
--- /dev/null
+++ b/dmenu/Makefile
@@ -0,0 +1,19 @@
+.POSIX:
+include ../common.mk
+
+install:
+ $(CHECK_INSTALLED) dash
+ $(CHECK_INSTALLED) vis
+ make -C unicode.d
+ mkdir -p -- ~/.local/bin
+ ln -sf -- ~/.dotfiles/dmenu/man ~/.local/bin/
+ ln -sf -- ~/.dotfiles/dmenu/ipa ~/.local/bin/
+ ln -sf -- ~/.dotfiles/dmenu/unicode ~/.local/bin/
+
+uninstall:
+ -unlink -- ~/.local/bin/man
+ -unlink -- ~/.local/bin/ipa
+ -unlink -- ~/.local/bin/unicode
+ -make -C unicode.d reallyclean
+
+.PHONY: install uninstall