summaryrefslogtreecommitdiff
path: root/doc/update-manpages.sh
diff options
context:
space:
mode:
Diffstat (limited to 'doc/update-manpages.sh')
-rwxr-xr-xdoc/update-manpages.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/update-manpages.sh b/doc/update-manpages.sh
new file mode 100755
index 0000000..14a0ece
--- /dev/null
+++ b/doc/update-manpages.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+if [ -x /usr/bin/txt2man ]; then
+
+ txt2man \
+ -d "`date -R`" \
+ -P mate-autogen \
+ -t mate-autogen \
+ -s 1 \
+ mate-autogen.txt > mate-autogen.1
+
+ txt2man \
+ -d "`date -R`" \
+ -P mate-doc-common \
+ -t mate-doc-common \
+ -s 1 \
+ mate-doc-common.txt > mate-doc-common.1
+
+else
+
+ echo "Install txt2man package to update manpages"
+
+fi