From b813de66f0daa4531277a480e7e45f5ce870f9b1 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Fri, 3 Mar 2006 14:59:20 +0000 Subject: [PATCH] Update. --- maint.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/maint.mk b/maint.mk index 266b4cb..4180930 100644 --- a/maint.mk +++ b/maint.mk @@ -107,6 +107,18 @@ syntax-check-rules := $(shell sed -n 's/^\(sc_[a-zA-Z0-9_-]*\):.*/\1/p' $(ME)) syntax-check: $(syntax-check-rules) +# Update gettext files. +PACKAGE ?= $(shell basename $(PWD)) +POURL = http://www.iro.umontreal.ca/translation/maint/$(PACKAGE)/ +PODIR ?= po +refresh-po: + rm $(PODIR)/*.po && \ + echo "$(ME): getting translations into po (please ignore the robots.txt ERROR 404)..." && \ + wget --no-verbose --directory-prefix $(PODIR) --no-directories --recursive --level 1 --accept .po --accept .po.1 $(POURL) && \ + echo 'en@boldquot' > $(PODIR)/LINGUAS && \ + echo 'en@quot' >> $(PODIR)/LINGUAS && \ + ls $(PODIR)/*.po | sed 's/.po//' | sed 's,$(PODIR)/,,' | sort >> $(PODIR)/LINGUAS + INDENT_SOURCES ?= $(C_SOURCES) .PHONY: indent indent: -- 2.11.4.GIT