blob: 297110ebf9b62ed6c2e415e2c4a572759365a896 (
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
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
|