summaryrefslogtreecommitdiff
path: root/packaging/SGI/mkman
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/SGI/mkman')
-rwxr-xr-xpackaging/SGI/mkman18
1 files changed, 18 insertions, 0 deletions
diff --git a/packaging/SGI/mkman b/packaging/SGI/mkman
new file mode 100755
index 0000000000..a39ed9fdd0
--- /dev/null
+++ b/packaging/SGI/mkman
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+if [ ! -d catman ]; then
+ mkdir catman
+fi
+
+
+FILES="*.?"
+
+cd ../../docs/manpages
+for FILE in $FILES ; do
+ if [ "$FILE" = "smbmnt.8" ]; then continue; fi;
+ if [ "$FILE" = "smbmount.8" -o "$FILE" = "smbumount.8" ]; then continue; fi;
+ if [ "$FILE" = "smbrun.1" ]; then continue; fi;
+ neqn $FILE | tbl | nroff -man > ../../packaging/SGI/catman/`basename $FILE`
+ pack -f ../../packaging/SGI/catman/`basename $FILE`
+done
+cd ../../packaging/SGI