diff options
author | Alessio Treglia <alessio@debian.org> | 2010-10-26 17:12:57 +0200 |
---|---|---|
committer | Alessio Treglia <alessio@debian.org> | 2010-10-26 17:12:57 +0200 |
commit | 4464130722661bc4c06da3ac447f16f3171711b2 (patch) | |
tree | 1e0d470ab19bb9e47c535c63618015dd1a6bb3a0 /help/Makefile.in | |
parent | 24e91aad73752189398ad589362a12408ff3bdbc (diff) | |
parent | fafc0daa6bd26ad254943315f253b1b218e71080 (diff) |
Merge commit 'upstream/2.32.0.1'
Diffstat (limited to 'help/Makefile.in')
-rw-r--r-- | help/Makefile.in | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/help/Makefile.in b/help/Makefile.in index 6920b3c..248730a 100644 --- a/help/Makefile.in +++ b/help/Makefile.in @@ -313,10 +313,10 @@ DOC_PAGES = index.page \ scanner.page \ scanning.page -DOC_LINGUAS = -DISTCLEANFILES = \ - Makefile.in - +DOC_LINGUAS = POT $(REAL_LINGUAS) +DISTCLEANFILES = translations/simple-scan-help.pot +REAL_LINGUAS = de +EXTRA_DIST = translations po.stamp all: all-am .SUFFIXES: @@ -920,6 +920,23 @@ uninstall-doc-omf: dist-hook: doc-dist-hook +$(_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 + +.PHONY: update-pot + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: |