diff options
author | Alessio Treglia <alessio@debian.org> | 2010-10-26 17:12:56 +0200 |
---|---|---|
committer | Alessio Treglia <alessio@debian.org> | 2010-10-26 17:12:56 +0200 |
commit | fafc0daa6bd26ad254943315f253b1b218e71080 (patch) | |
tree | 2d09b07a68c0236fe5b0b7a4ebdb630c96610b4d /help/Makefile.in | |
parent | 516b7d5c6b94b4496609a4a758c21d0cdc2bbfa2 (diff) |
Imported Upstream version 2.32.0.1upstream/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: |