diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-12-01 18:13:52 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-12-01 18:13:52 +0100 |
commit | 6257b09273a2853f896d5525220c51206c473bc5 (patch) | |
tree | 1b727aab49a5a05f0a2202f4b655ec150bc1b947 | |
parent | update (diff) | |
download | my-keyboard-6257b09273a2853f896d5525220c51206c473bc5.tar.gz my-keyboard-6257b09273a2853f896d5525220c51206c473bc5.tar.bz2 my-keyboard-6257b09273a2853f896d5525220c51206c473bc5.tar.xz |
makefile
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | Makefile | 19 |
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 + |