summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-07 14:55:44 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-07 14:55:44 +0200
commitaa7b140b5b497d49d6add907482e2df7dc6ae1c1 (patch)
tree942978d437c2a7f338781ce0aeda31126561b2bd
parentbe8dffdd6db7b6a1a7a0aa406faf39b29ccfcc9a (diff)
Also use pod for doc/
-rwxr-xr-xbin/pkg7
-rw-r--r--doc/bootstrap12
2 files changed, 17 insertions, 2 deletions
diff --git a/bin/pkg b/bin/pkg
index 04e7199..908096a 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -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/*; {
diff --git a/doc/bootstrap b/doc/bootstrap
index 9eb306a..9dfbee9 100644
--- a/doc/bootstrap
+++ b/doc/bootstrap
@@ -1,6 +1,12 @@
+=head1 NAME
+
bootstrap - install the most essential utilities in $HOME.
-Usage: ./bootstrap
+=head1 SYNOPSIS
+
+B<./bootstrap>
+
+=head1 DESCRIPTION
bootstrap will, in this order, do the following:
@@ -12,3 +18,7 @@ bootstrap will, in this order, do the following:
If not, receives a pre-build one via ssh/tar
* Clone and then install the core repository
+
+=head1 AUTHOR
+
+Daniel Friesel <derf@derf.homelinux.org>