blob: 4e1ed56b35615c14e245aa9f7294cb00d940ee50 (
plain) (
tree)
|
|
.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
|