From 201e727a1fc571f3a56763dc044a58504cc89af6 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 25 May 2007 17:40:23 -0400 Subject: Starting to add i18n to cobbler using rhpl --- po/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 po/Makefile (limited to 'po') diff --git a/po/Makefile b/po/Makefile new file mode 100644 index 0000000..ac8f6b9 --- /dev/null +++ b/po/Makefile @@ -0,0 +1,14 @@ +# +# copied from the gpodder makefile by Thomas Perl, also GPL + +update: + for langfile in *.po; do echo 'Compiling translation:' $${langfile}; mkdir -p ../locale/`basename $${langfile} .po`/LC_MESSAGES/; msgfmt $${langfile} -o ../locale/`basename $${langfile} .po`/LC_MESSAGES/vf_node_server.mo; done + +generators: + for langfile in *.po; do echo -n $${langfile}; msgmerge -U $${langfile} ../messages.pot; done + +clean: + rm -rf ../locale *~ *.mo + +.PHONY: update generators clean + -- cgit