From 5703473fc06d8a92ec92d44fab5ddcf19938a1a6 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 1 Mar 2021 17:32:48 +0100 Subject: misc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- linux-vt-keyboard/Makefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 linux-vt-keyboard/Makefile (limited to 'linux-vt-keyboard/Makefile') 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 -- cgit v1.2.3-70-g09d2