aboutsummaryrefslogtreecommitdiffstats
path: root/dmenu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dmenu/Makefile')
-rw-r--r--dmenu/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/dmenu/Makefile b/dmenu/Makefile
index d60be4d..7183f39 100644
--- a/dmenu/Makefile
+++ b/dmenu/Makefile
@@ -1,14 +1,19 @@
.POSIX:
install:
- ../check-installed-shebang dmenu
+ ../check-installed-shebang dmenu.gpp
../check-installed-shebang ipa
../check-installed-shebang unicode
../check-installed-shebang plumb
../check-in-path vis
+ ../check-installed general-preprocessor
cd unicode.d && make
+ gpp -s '%%' < dmenu.gpp > .dmenu
+ chmod +x .dmenu
+ ../check-installed-shebang .dmenu
mkdir -p -- ~/.local/bin
- ln -sf -- ~/.dotfiles/dmenu/dmenu ~/.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/