blob: 81c19afafcb56e5b01ac363a0880d34148d1789c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
LC_ALL=UTF-8 msgfmt -o $@ $^
%-grub.po: ../make-grub-po
LC_ALL=UTF-8 ../make-grub-po $(basename $*)
%-kbd.po: ../make-kbd-po ../kbd-names.txt
LC_ALL=UTF-8 ../make-kbd-po $(basename $*)
clean:
rm -f *-grub.po *-kbd.po *.mo
|