summaryrefslogtreecommitdiff
path: root/doc/update-manpages.sh
blob: 14a0ecefd1a2f2a5ef4f1efb1903159f642f66bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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