From fafc0daa6bd26ad254943315f253b1b218e71080 Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Tue, 26 Oct 2010 17:12:56 +0200 Subject: Imported Upstream version 2.32.0.1 --- help/Makefile.am | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'help/Makefile.am') diff --git a/help/Makefile.am b/help/Makefile.am index a901f88..135913d 100644 --- a/help/Makefile.am +++ b/help/Makefile.am @@ -21,3 +21,27 @@ DOC_LINGUAS = DISTCLEANFILES = \ Makefile.in + +REAL_LINGUAS = de + +DOC_LINGUAS = POT $(REAL_LINGUAS) + +$(_DOC_LC_DOCS) : po.stamp + +po.stamp: $(wildcard translations/*.po) + for p in $?; do $(mkdir_p) $$(basename $$p .po)/; \ + cp -a $$p $$(basename $$p .po)/; done + touch $@ + +update-pot: translations/simple-scan-help.pot +POT/POT.po: $(foreach page,$(DOC_PAGES),C/$(page)) +translations/simple-scan-help.pot: POT/POT.po + $(mkdir_p) $(dir $@) + sed 's|^#: /.*/\(.*\)|#: \1|g' $^ > $@ + +dist-hook: doc-dist-hook + +EXTRA_DIST = translations po.stamp +DISTCLEANFILES = translations/simple-scan-help.pot + +.PHONY: update-pot -- cgit v1.2.3