Skip to content

Commit

Permalink
[man] - use pod2man to auto-generate the man page for pbctl, rather t…
Browse files Browse the repository at this point in the history
…han separate one.
  • Loading branch information
Richard Neill committed Mar 4, 2011
1 parent e29171a commit f09d876
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -2,6 +2,7 @@ all :: compile

compile:
cd kernel; make -C /lib/modules/`uname -r`/build M=`pwd` ; cd -
pod2man pbctl/pbctl -c "User Commands" > man/pbctl.1
bzip2 -kf man/pbctl.1
bzip2 -kf man/pb_driver-load.1
bzip2 -kf man/pb_test-flash-2Hz.1
Expand Down
15 changes: 0 additions & 15 deletions man/pbctl.1

This file was deleted.

8 changes: 7 additions & 1 deletion pbctl/pbctl
Expand Up @@ -22,7 +22,9 @@ pbctl - PulseBlaster control
=head1 SYNOPSIS
pbctl [OPTIONS]
PulseBlaster control program: perl script to program and stop/start/arm/continue the PulseBlaster.
pbctl [OPTIONS]
Options:
Expand Down Expand Up @@ -73,6 +75,10 @@ the PulseBlaster first.
=back
=head1 SEE ALSO
pulseblaster(1), pb_utils(1)
=cut

use Getopt::Long;
Expand Down

0 comments on commit f09d876

Please sign in to comment.