aboutsummaryrefslogtreecommitdiffstats
path: root/xorg-server/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-06-26 15:17:32 +0200
committerMattias Andrée <maandree@kth.se>2021-06-26 15:17:32 +0200
commit51471943e2d37bd864c4b53f7e0976ccdf163457 (patch)
tree72ccf9e93db6fdc6ffc4151358628def05e5743b /xorg-server/Makefile
parentAdd ipa, man, and unicode scripts (diff)
downloaddotfiles-51471943e2d37bd864c4b53f7e0976ccdf163457.tar.gz
dotfiles-51471943e2d37bd864c4b53f7e0976ccdf163457.tar.bz2
dotfiles-51471943e2d37bd864c4b53f7e0976ccdf163457.tar.xz
Add xkbdbind
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'xorg-server/Makefile')
-rw-r--r--xorg-server/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/xorg-server/Makefile b/xorg-server/Makefile
index 29edef7..72de69f 100644
--- a/xorg-server/Makefile
+++ b/xorg-server/Makefile
@@ -17,10 +17,16 @@ install:
$(CHECK_INSTALLED) xorg-xmodmap
mkdir -p -- ~/.local/bin
ln -sf -- ~/.dotfiles/xorg-server/setkeys ~/.local/bin/
+ test -d xkbdbind || git clone 'git://git.maandree.se/xkbdbind'
+ gpp -s '%%' < xkbdbind.config.h.gpp > xkbdbind/config.h
+ make -C xkbdbind
+ ln -sf -- ~/.dotfiles/xorg-server/xkbdbind/xkbdbind ~/.local/bin/
uninstall:
-unlink -- ~/.config/backgrounds
-unlink -- ~/.config/background
-unlink -- ~/.local/bin/setkeys
+ -unlink -- ~/.local/bin/xkdbind
+ -rm -rf -- xkbdbind
.PHONY: install uninstall