aboutsummaryrefslogtreecommitdiffstats
path: root/linux-vt-keyboard/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'linux-vt-keyboard/Makefile')
-rw-r--r--linux-vt-keyboard/Makefile26
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