summaryrefslogtreecommitdiff
path: root/po/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-06-05 20:38:37 +0200
committerDaniel Baumann <daniel@debian.org>2012-06-06 19:59:15 +0200
commitf74ac476915ba411075c996dfc7c89cdf6f0834b (patch)
tree1d197291657d3cbeda85cc39f769ba0279bedbae /po/Makefile
parent46f13db55aae3616609549072983cdb268461498 (diff)
downloadvyos-live-build-f74ac476915ba411075c996dfc7c89cdf6f0834b.tar.gz
vyos-live-build-f74ac476915ba411075c996dfc7c89cdf6f0834b.zip
Removing unmaintained l10n handling.
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 19ad86a99..000000000
--- a/po/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# Makefile to manage gettext files
-
-DOMAIN=live-build
-ECHO_FUNCTIONS="Echo Echo_debug Echo_debug_running Echo_error Echo_message Echo_message_running Echo_verbose Echo_verbose_running Echo_warning Echo_status Echo_done Echo_file Echo_breakage"
-
-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-build.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 -f *.mo *~
-
-.PHONY: update-po