From 6257b09273a2853f896d5525220c51206c473bc5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 1 Dec 2012 18:13:52 +0100 Subject: makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Makefile 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 + -- cgit v1.2.3-70-g09d2