diff options
Diffstat (limited to 'bin/pkg')
-rwxr-xr-x | bin/pkg | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -158,7 +158,12 @@ populate_collected () { cd $PDIR/$1 || return info "Enabling documentation " if ([ -d doc ]) { - cp doc/* $PDIR/.collected/doc/ + for i in doc/*; { + if (podchecker $i &> /dev/null) { + pod2man -c "$1 Documentation" -r "" $i > $PDIR/.collected/man/man1/$(basename $i).1 + } + echo -n "." + } } if ([ -d bin ]) { for i in bin/*; { |