aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..a1994b1
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+MAP = sv-maandree
+
+default:
+ sudo loadkeys "./$(MAP).map"
+
+use: install
+ loadkeys "$(MAP)"
+
+compress:
+ gzip -9f < "$(MAP).map" > ""$(MAP).map.gz""
+
+install:
+ install -m644 "$(MAP).map.gz" "/usr/share/kbd/keymaps/i386/qwerty/"
+
+clean:
+ if [ -f "$(MAP).map.gz" ]; then rm "$(MAP).map.gz"; fi
+
+.PHONY: default use compress clean
+