blob: 4e1ed56b35615c14e245aa9f7294cb00d940ee50 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
.POSIX:
install:
../check-installed-shebang dmenu.gpp
../check-installed-shebang ipa
../check-installed-shebang unicode
../check-installed-shebang plumb
../check-in-path vis
../check-in-path ifne
../check-in-path xclip
../check-installed general-preprocessor
cd unicode.d && make
gpp -s '%%' < dmenu.gpp > .dmenu
chmod +x .dmenu
../check-installed-shebang .dmenu
mkdir -p -- ~/.local/bin
test ! -e ~/.local/bin/dmenu || test -L ~/.local/bin/dmenu
ln -sf -- ~/.dotfiles/dmenu/.dmenu ~/.local/bin/dmenu
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/ipa
-unlink -- ~/.local/bin/unicode
-unlink -- ~/.local/bin/plumb
-cd unicode.d && make reallyclean
|