summaryrefslogtreecommitdiff
path: root/po/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-01-01 17:50:13 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:32 +0100
commit383519bff306569c09dfb08b40434a9dea4bc7e1 (patch)
tree981ce6e1c63aa6c18e9c62e61212e9fbd598b672 /po/Makefile
parent339a910c82d8a580199fbafabec60aa4232c68df (diff)
downloadvyos-live-build-383519bff306569c09dfb08b40434a9dea4bc7e1.tar.gz
vyos-live-build-383519bff306569c09dfb08b40434a9dea4bc7e1.zip
Removing l10n support for 2.0 branch.
Diffstat (limited to 'po/Makefile')
-rw-r--r--po/Makefile39
1 files changed, 0 insertions, 39 deletions
diff --git a/po/Makefile b/po/Makefile
deleted file mode 100644
index 3216d1f9a..000000000
--- a/po/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# Makefile to manage gettext files
-
-DOMAIN=live-helper
-ECHO_FUNCTIONS="Echo_message Echo_verbose Echo_warning Echo_debug Echo_error Echo_breakage Echo"
-
-POFILES=$(wildcard *.po)
-MOFILES=$(patsubst %.po,%.mo,$(POFILES))
-LINGUAS=$(basename $(POFILES))
-GETTEXTFILES=$(shell find ../scripts/build ../functions -type f)
-POTFILE=$(DOMAIN).pot
-DESTDIR=/
-XGETTEXT_KEYWORDS=$(shell echo $(ECHO_FUNCTIONS) |sed -e 's,\S\+,-k&,g')
-
-%.mo: %.po
- msgfmt --statistics -o $@ $<
-
-%.po: $(DOMAIN).pot
- msgmerge -U $*.po $(DOMAIN).pot
-
-$(DOMAIN).pot: $(GETTEXTFILES)
- $(shell xgettext $(XGETTEXT_KEYWORDS) -L Shell -o $(DOMAIN).pot $(GETTEXTFILES))
-
-update-po: live-helper.pot
- -for lang in $(LINGUAS); do\
- msgmerge -U $$lang.po $(DOMAIN).pot; \
- done
-
-install: $(MOFILES)
- -for lang in $(LINGUAS); do\
- install -d $(DESTDIR)/usr/share/locale/$$lang/LC_MESSAGES/; \
- install -m 644 $$lang.mo $(DESTDIR)/usr/share/locale/$$lang/LC_MESSAGES/$(DOMAIN).mo; \
- done
-
-all: update-po $(MOFILES)
-
-clean:
- - rm *.mo *~
-
-.PHONY: update-po