diff options
author | Mattias Andrée <maandree@kth.se> | 2021-03-01 17:32:48 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-03-01 17:32:48 +0100 |
commit | 5703473fc06d8a92ec92d44fab5ddcf19938a1a6 (patch) | |
tree | 9a0a521f20c3865ca88c319ae9dfa7e5329021ee /consolefont | |
parent | update readme (diff) | |
download | my-keyboard-5703473fc06d8a92ec92d44fab5ddcf19938a1a6.tar.gz my-keyboard-5703473fc06d8a92ec92d44fab5ddcf19938a1a6.tar.bz2 my-keyboard-5703473fc06d8a92ec92d44fab5ddcf19938a1a6.tar.xz |
misc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'consolefont')
-rw-r--r-- | consolefont/COPYING | 2 | ||||
-rw-r--r-- | consolefont/DEPENDENCIES | 2 | ||||
-rw-r--r-- | consolefont/Makefile | 23 |
3 files changed, 19 insertions, 8 deletions
diff --git a/consolefont/COPYING b/consolefont/COPYING index 93b0910..b693493 100644 --- a/consolefont/COPYING +++ b/consolefont/COPYING @@ -1,4 +1,4 @@ -This console font is based on lat9w-16 from kbd (www.kbd-project.org +This console font is based on lat9w-16 from kbd (www.kbd-project.org) Copyright (C) 2013 Mattias Andrée (maandree@member.fsf.org) diff --git a/consolefont/DEPENDENCIES b/consolefont/DEPENDENCIES new file mode 100644 index 0000000..059bd88 --- /dev/null +++ b/consolefont/DEPENDENCIES @@ -0,0 +1,2 @@ +nafe: building psf file +kbd: converting psf to psfu diff --git a/consolefont/Makefile b/consolefont/Makefile index 128b2fe..7b7efef 100644 --- a/consolefont/Makefile +++ b/consolefont/Makefile @@ -1,4 +1,9 @@ -SHELL=bash +.POSIX: + +PREFIX = /usr +NAME = maandree-16 + +LAT9W_16_PATH = /usr/share/kbd/consolefonts/lat9w-16.psfu.gz all: maandree-16.psfu.gz @@ -6,15 +11,19 @@ maandree-16.psf: maandree-16 txt2psf maandree-16 maandree-16.psf maandree-16.psfu: maandree-16.psf - psfaddtable maandree-16.psf <(psfgettable <(gunzip < /usr/share/kbd/consolefonts/lat9w-16.psfu.gz)) maandree-16.psfu + gunzip < $(LAT9W_16_PATH) | psfgettable - | psfaddtable maandree-16.psf - maandree-16.psfu maandree-16.psfu.gz: maandree-16.psfu - gzip maandree-16.psfu + gzip -9f < maandree-16.psfu > maandree-16.psfu.gz install: - maandree-16.psfu.gz /usr/share/kbd/consolefonts/maandree-16.psfu.gz + mkdir -p -- /usr/share/kbd/consolefonts/ + cp -- maandree-16.psfu.gz "$(DESTDIR)$(PREFIX)/share/kbd/consolefonts/$(NAME).psfu.gz" + +uninstall: + -rm -f -- "$(DESTDIR)$(PREFIX)/share/kbd/consolefonts/$(NAME).psfu.gz" -depends: - @echo 'nafe: building psf file' - @echo 'kbd: converting psf to psfu' +clean: + -rm -f -- maandree-16.psfu.gz maandree-16.psfu maandree-16.psf +.PHONY: all install uninstall clean |