Add translated mans to tarball

The source tarball now includes translated man pages and the
man-po po files.

Signed-off-by: Craig Small <csmall@enc.com.au>
This commit is contained in:
Craig Small 2014-09-12 23:04:33 +10:00
parent 05b42b0f3c
commit 515ef90b93
8 changed files with 5826 additions and 7563 deletions

1
man-po/.gitignore vendored
View File

@ -1,2 +1,3 @@
*.pot *.pot
/de/ /de/
/uk/

View File

@ -1,6 +1,6 @@
translate-templates: $(DIST_MAN_POTS) translate-templates: $(DIST_MAN_POTS)
EXTRA_DIST = $(DIST_MAN_POTS) EXTRA_DIST = $(DIST_MAN_POTS) $(DIST_MAN_POS) $(DIST_translated_MANS)
get-trans: get-trans:
rsync -Lrtvz translationproject.org::tp/latest/procps-ng-man/ . rsync -Lrtvz translationproject.org::tp/latest/procps-ng-man/ .
@ -9,10 +9,12 @@ get-trans:
translate-mans: dist-man-paths $(translated_MANS) translate-mans: dist-man-paths $(translated_MANS)
base_langs := $(patsubst %.po,%,$(wildcard *.po)) base_langs = $(patsubst %.po,%,$(wildcard *.po))
top_langs := $(patsubst %.po,%,$(notdir $(wildcard top/*.po))) top_langs = $(patsubst %.po,%,$(notdir $(wildcard top/*.po)))
ps_langs := $(patsubst %.po,%,$(notdir $(wildcard ps/*.po))) ps_langs = $(patsubst %.po,%,$(notdir $(wildcard ps/*.po)))
all_langs = $(base_langs) $(top_langs) $(ps_langs) all_langs = $(base_langs) $(top_langs) $(ps_langs)
DIST_MAN_POS = $(wildcard *.po) $(wildcard top/*.po) $(wildcard ps/*.po)
DIST_translated_MANS = $(shell find . -name '*.[1-9]')
MAN_SECTIONS = 1 5 8 MAN_SECTIONS = 1 5 8
MAN_PAGES = free.1 kill.1 pgrep.1 pidof.1 pkill.1 pmap.1 pwdx.1 skill.1 slabtop.1 \ MAN_PAGES = free.1 kill.1 pgrep.1 pidof.1 pkill.1 pmap.1 pwdx.1 skill.1 slabtop.1 \
tload.1 uptime.1 w.1 watch.1 \ tload.1 uptime.1 w.1 watch.1 \
@ -35,7 +37,7 @@ PO4A_UPDATEPO = po4a-updatepo
PO4A_TRANSLATE = po4a-translate PO4A_TRANSLATE = po4a-translate
translate_manpage = $(PO4A_TRANSLATE) -f man -m $< -p $*.po -l $@ translate_manpage = $(PO4A_TRANSLATE) -f man -m $< -p $*.po -l $@
CLEANFILES = $(DIST_MAN_POTS) CLEANFILES = $(DIST_MAN_POTS) $(translated_MANS)
maintainer-clean-local: maintainer-clean-local:
-rm -rf $(all_langs) -rm -rf $(all_langs)

File diff suppressed because it is too large Load Diff

3324
man-po/uk.po Normal file

File diff suppressed because it is too large Load Diff

972
po/de.po

File diff suppressed because it is too large Load Diff

933
po/fr.po

File diff suppressed because it is too large Load Diff

915
po/pl.po

File diff suppressed because it is too large Load Diff

927
po/uk.po

File diff suppressed because it is too large Load Diff