summaryrefslogtreecommitdiffstats
path: root/doc/misc/update_handbook.sh
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-02-22 12:31:47 +0100
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-02-23 15:34:03 +0900
commit77cd84aae90b8d04f56dfb5b738a58900cd4c0cc (patch)
tree6d5d20934590afbda5e278bdbe27d73a7ca2006d /doc/misc/update_handbook.sh
parenta5b1b4e3e2c717ae1d392fdf37d7ac0d1f77c51d (diff)
downloadkvpnc-77cd84aae90b8d04f56dfb5b738a58900cd4c0cc.tar.gz
kvpnc-77cd84aae90b8d04f56dfb5b738a58900cd4c0cc.zip
Drop automake build support.
Add basic build instructions. Rework of the README, INSTALL and help page. Remove empty folder templates and the NEWS file. Delete the INSTALL.debian and INSTALL.gentoo files. Create the doc/misc folder to hold lot of config and/or readme files. Signed-off-by: gregory guy <gregory-tde@laposte.net> (cherry picked from commit 9b99335373bb5e06cfb2cdbbff4f6d45b3d0edda)
Diffstat (limited to 'doc/misc/update_handbook.sh')
-rwxr-xr-xdoc/misc/update_handbook.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/misc/update_handbook.sh b/doc/misc/update_handbook.sh
new file mode 100755
index 0000000..24210e6
--- /dev/null
+++ b/doc/misc/update_handbook.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+LANGS="de fr sv"
+
+echo -n "update pot..."
+xml2pot en/index.docbook > en/handbook.pot
+echo " done."
+
+for lang in $LANGS; do
+ echo -n "updating $lang..."
+ mv $lang/handbook.po $lang/handbook_old.po
+ msgmerge -o $lang/handbook.po $lang/handbook_old.po en/handbook.pot
+ rm $lang/handbook_old.po
+ po2xml en/index.docbook $lang/handbook.po > $lang/index.docbook
+ echo " done."
+done