summaryrefslogtreecommitdiffstats
path: root/bootloader/po/Makefile
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2017-12-23 10:56:51 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2017-12-23 10:56:51 +0000
commit4a059bf55989f4993060082b0d6bd6a20a86fc9f (patch)
tree74fc86e6fd77afafa29ed33cc546b511c413dbe7 /bootloader/po/Makefile
parent828b81547e606dd7dfeb6516df75db903d559c60 (diff)
downloaddrakiso-4a059bf55989f4993060082b0d6bd6a20a86fc9f.tar
drakiso-4a059bf55989f4993060082b0d6bd6a20a86fc9f.tar.gz
drakiso-4a059bf55989f4993060082b0d6bd6a20a86fc9f.tar.bz2
drakiso-4a059bf55989f4993060082b0d6bd6a20a86fc9f.tar.xz
drakiso-4a059bf55989f4993060082b0d6bd6a20a86fc9f.zip
Import bootloader files from draklive user/martinw/use-grub2 branch.
Diffstat (limited to 'bootloader/po/Makefile')
-rw-r--r--bootloader/po/Makefile16
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