diff options
author | Mattias Andrée <maandree@kth.se> | 2021-03-01 17:32:48 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-03-01 17:32:48 +0100 |
commit | 5703473fc06d8a92ec92d44fab5ddcf19938a1a6 (patch) | |
tree | 9a0a521f20c3865ca88c319ae9dfa7e5329021ee /linux-vt-keyboard/Makefile | |
parent | update readme (diff) | |
download | my-keyboard-5703473fc06d8a92ec92d44fab5ddcf19938a1a6.tar.gz my-keyboard-5703473fc06d8a92ec92d44fab5ddcf19938a1a6.tar.bz2 my-keyboard-5703473fc06d8a92ec92d44fab5ddcf19938a1a6.tar.xz |
misc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | linux-vt-keyboard/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/linux-vt-keyboard/Makefile b/linux-vt-keyboard/Makefile new file mode 100644 index 0000000..81c0b7b --- /dev/null +++ b/linux-vt-keyboard/Makefile @@ -0,0 +1,26 @@ +.POSIX: + +PREFIX = /usr +NAME = sv-maandree + + +all: sv-maandree.map.gz + +sv-maandree.map.gz: sv-maandree.map + gzip -9f < sv-maandree.map > sv-maandree.map.gz + +install: sv-maandree.map.gz + mkdir -p -- "$(DESTDIR)$(PREFIX)/share/kbd/keymaps/i386/qwerty/" + cp -- sv-maandree.map.gz "$(DESTDIR)$(PREFIX)/share/kbd/keymaps/i386/qwerty/$(NAME).map.gz" + +uninstall: + -rm -f -- "$(DESTDIR)$(PREFIX)/share/kbd/keymaps/i386/qwerty/$(NAME).map.gz" + -rm -f -- "$(DESTDIR)$(PREFIX)/share/kbd/keymaps/i386/qwerty/$(NAME).map" + +clean: + -rm -f -- sv-maandree.map.gz + +use: + loadkeys ./sv-maandree.map + +.PHONY: all install uninstall clean use |