procps/create-man-pot.sh
Jim Warner 6c148b4f8b docs: with systemd now in library, remember openproc.3
[ plus remove just a little darn trailing whitespace ]

Reference(s):
. systemd migrated to library
commit 9d8ad6419f
. added library documentation
commit a74fb8fade

Signed-off-by: Jim Warner <james.warner@comcast.net>
2014-07-18 20:49:57 +02:00

42 lines
1.4 KiB
Bash
Executable File

#!/bin/sh
#
# Run this command in the top level directory to create the translation template:
SRCDIR=$(dirname ${0})
test -z "${SRCDIR}" && SRCDIR=.
if [ -d man-po ] ; then
echo "man-po: directory exists, will be reused"
else
mkdir -p man-po
fi
po4a-updatepo -f man -m ${SRCDIR}/free.1 \
-m ${SRCDIR}/kill.1 \
-m ${SRCDIR}/pgrep.1 \
-m ${SRCDIR}/pidof.1 \
-m ${SRCDIR}/pkill.1 \
-m ${SRCDIR}/pmap.1 \
-m ${SRCDIR}/pwdx.1 \
-m ${SRCDIR}/skill.1 \
-m ${SRCDIR}/slabtop.1 \
-m ${SRCDIR}/snice.1 \
-m ${SRCDIR}/sysctl.8 \
-m ${SRCDIR}/sysctl.conf.5 \
-m ${SRCDIR}/tload.1 \
-m ${SRCDIR}/uptime.1 \
-m ${SRCDIR}/vmstat.8 \
-m ${SRCDIR}/w.1 \
-m ${SRCDIR}/watch.1 \
-p man-po/template-man.pot
po4a-updatepo -f man -m ${SRCDIR}/ps/ps.1 \
-p man-po/template-man-ps.pot
po4a-updatepo -f man -m ${SRCDIR}/top/top.1 \
-p man-po/template-man-top.pot
# Rename the file according to the version of your (pre-release) tarball.
# Send the new file together with a link to the tarball to the TP coordinators:
# <coordinator@translationproject.org>