]> granicus.if.org Git - procps-ng/blobdiff - create-man-pot.sh
top: avoid '%Cpu' distortion resulting from keystrokes
[procps-ng] / create-man-pot.sh
index c7e30008dd4af2efefbe01e08350a3dad92dc4c3..e6520c7ee1b131f2a30e5d2f64112e32b46cb616 100755 (executable)
@@ -5,12 +5,14 @@
 SRCDIR=$(dirname ${0})
 test -z "${SRCDIR}" && SRCDIR=.
 
-if [ -d man-po ] ; then
-  echo "man-po: directory exists, will be reused"
+if [ -d po-man ] ; then
+  echo "po-man: directory exists, will be reused"
   else
-    mkdir -p man-po
+    mkdir -p po-man
 fi
 
+PO_FILES="po-man/*.po"
+
 po4a-updatepo -f man -m ${SRCDIR}/free.1 \
                      -m ${SRCDIR}/kill.1 \
                      -m ${SRCDIR}/pgrep.1 \
@@ -28,14 +30,14 @@ po4a-updatepo -f man -m ${SRCDIR}/free.1 \
                      -m ${SRCDIR}/vmstat.8 \
                      -m ${SRCDIR}/w.1 \
                      -m ${SRCDIR}/watch.1 \
-                     -p man-po/template-man.pot
-                     
+                     -p po-man/template-man.pot ${PO_FILES}
+
 po4a-updatepo -f man -m ${SRCDIR}/ps/ps.1 \
-                     -p man-po/template-man-ps.pot
+                     -p po-man/template-man-ps.pot
 
 po4a-updatepo -f man -m ${SRCDIR}/top/top.1 \
-                     -p man-po/template-man-top.pot
+                     -p po-man/template-man-top.pot
 
-# Rename the file according to the version of your (pre-release) tarball.                     
+# 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>