summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2010-09-15 07:25:08 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2010-09-15 07:25:08 (GMT)
commit8164430785d0409acb78c8009150875ae8561cc1 (patch)
tree40740f6f6d921b9dd5d9f431a5d22ab2d7125e81 /data
parentd4a8d67f0332bbf443696459e85d02c49d6a5cfd (diff)
downloadkolab-webadmin-8164430785d0409acb78c8009150875ae8561cc1.tar.gz
Finalize the PEAR based installation. The kolab-webadmin source directory should be ready to be removed.refactor-kolab-webadmin
Diffstat (limited to 'data')
-rw-r--r--data/locale/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/data/locale/Makefile b/data/locale/Makefile
new file mode 100644
index 0000000..b1821e4
--- /dev/null
+++ b/data/locale/Makefile
@@ -0,0 +1,28 @@
+MSGFMT=msgfmt
+
+CLEANFILES = */LC_MESSAGES/messages.mo
+
+PHP_LOCALE_DE_PO = de/LC_MESSAGES/messages.po
+PHP_LOCALE_DE_MO = de/LC_MESSAGES/messages.mo
+PHP_LOCALE_FR_PO = fr/LC_MESSAGES/messages.po
+PHP_LOCALE_FR_MO = fr/LC_MESSAGES/messages.mo
+PHP_LOCALE_NL_PO = nl/LC_MESSAGES/messages.po
+PHP_LOCALE_NL_MO = nl/LC_MESSAGES/messages.mo
+PHP_LOCALE_IT_PO = it/LC_MESSAGES/messages.po
+PHP_LOCALE_IT_MO = it/LC_MESSAGES/messages.mo
+PHP_LOCALE_ES_PO = es/LC_MESSAGES/messages.po
+PHP_LOCALE_ES_MO = es/LC_MESSAGES/messages.mo
+
+MO = $(PHP_LOCALE_DE_MO) \
+ $(PHP_LOCALE_FR_MO) \
+ $(PHP_LOCALE_NL_MO) \
+ $(PHP_LOCALE_IT_MO) \
+ $(PHP_LOCALE_ES_MO) \
+
+all: $(MO)
+
+$(MO):
+ $(MSGFMT) -o $@ $(@:%.mo=%.po)
+
+clean:
+ rm $(CLEANFILES)