]> git.phdru.name Git - m_librarian.git/blobdiff - m_librarian/translations/Makefile
Use gettext
[m_librarian.git] / m_librarian / translations / Makefile
diff --git a/m_librarian/translations/Makefile b/m_librarian/translations/Makefile
new file mode 100644 (file)
index 0000000..912175c
--- /dev/null
@@ -0,0 +1,8 @@
+%.mo: %.po
+       msgfmt -o $@ -- $<
+
+po_files = $(shell echo *.po)
+mo_files = $(patsubst %.po,%.mo,$(po_files))
+
+.PHONY: all
+all: $(mo_files)