1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 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