From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/signon-ui/Makefile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 community/signon-ui/Makefile (limited to 'community/signon-ui/Makefile') 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 + -- cgit v1.2.3-54-g00ecf