summaryrefslogtreecommitdiffstats
path: root/release/scripts/manpages-make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/manpages-make.sh')
-rwxr-xr-xrelease/scripts/manpages-make.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/release/scripts/manpages-make.sh b/release/scripts/manpages-make.sh
new file mode 100755
index 0000000..5f73f71
--- /dev/null
+++ b/release/scripts/manpages-make.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# Move all the manpages out to their own dist, using the bin dist as a
+# starting point.
+if [ -d ${RD}/trees/bin/usr/share/man ]; then
+ ( cd ${RD}/trees/bin/usr/share/man;
+ find . | cpio -dumpl ${RD}/trees/manpages/usr/share/man > /dev/null 2>&1) &&
+ rm -rf ${RD}/trees/bin/usr/share/man;
+fi
OpenPOWER on IntegriCloud