diff options
Diffstat (limited to 'bootloader/po/Makefile')
-rw-r--r-- | bootloader/po/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bootloader/po/Makefile b/bootloader/po/Makefile new file mode 100644 index 0000000..297110e --- /dev/null +++ b/bootloader/po/Makefile @@ -0,0 +1,16 @@ +PO_FILES = $(filter-out $(wildcard *-*.po), $(wildcard *.po)) +MO_FILES = $(addsuffix .mo, $(basename $(PO_FILES))) + +all: $(MO_FILES) + +%.mo: %.po %-grub.po %-kbd.po + msgfmt -o $@ $^ + +%-grub.po: ../make-grub-po + ../make-grub-po $(basename $*) + +%-kbd.po: ../make-kbd-po ../kbd-names.txt + ../make-kbd-po $(basename $*) + +clean: + rm -f *-grub.po *-kbd.po *.mo |