summaryrefslogtreecommitdiff
path: root/community/signon-ui/Makefile
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/signon-ui/Makefile
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/signon-ui/Makefile')
-rw-r--r--community/signon-ui/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/signon-ui/Makefile b/community/signon-ui/Makefile
new file mode 100644
index 000000000..3ede78507
--- /dev/null
+++ b/community/signon-ui/Makefile
@@ -0,0 +1,31 @@
+# Add here the language codes for the translated .po files:
+LINGUAS =
+
+I18N_DOMAIN = signon-ui
+
+PO_FILES = $(addsuffix .po, $(LINGUAS))
+MO_FILES = $(addsuffix .mo, $(LINGUAS))
+
+DEL_FILE = rm -f
+INSTALL = /usr/bin/install -c -m 644
+MKDIR = mkdir -p
+
+all: $(MO_FILES)
+
+install: all
+ for lang in $(LINGUAS); do \
+ dir=$(INSTALL_ROOT)/usr/share/locale/$$lang/LC_MESSAGES; \
+ $(MKDIR) $$dir; \
+ $(INSTALL) $$lang.mo $$dir/$(I18N_DOMAIN).mo; \
+ done
+
+%.mo: %.po
+ msgfmt -o "$@" "$<"
+
+clean:
+ -$(DEL_FILE) $(MO_FILES)
+
+distclean: clean
+
+check: all
+