summaryrefslogtreecommitdiff
blob: 0f1f3ed4d8684b5dc4c23e31089f1b703b341715 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

if [ -z "$1" ] ; then
	echo "Usage: $0 <version>"
	exit 1
fi

find man -name '*.eclass.5' > man-page-list
tar -jcf portage-manpages-${1}.tar.bz2 --files-from man-page-list
echo "Packed away $(wc -l man-page-list | cut -f1 -d' ') manpages"
rm -f man-page-list

ls -l portage-manpages-${1}.tar.bz2