| 1 |
adcroft |
1.1 |
#!/usr/bin/perl -w |
| 2 |
|
|
|
| 3 |
|
|
# this file is used to simplify the use of pod2hpp so you don't have to |
| 4 |
|
|
# specify the path to the config file on every execution |
| 5 |
|
|
|
| 6 |
|
|
# you call this script just like pod2hpp but without the -c argument. |
| 7 |
|
|
use FindBin qw($Bin); |
| 8 |
|
|
|
| 9 |
|
|
$ENV{PERL5LIB} = "$Bin/../"; |
| 10 |
|
|
$ENV{PATH} = "$Bin:$ENV{PATH}"; # to use local version of pod2html |
| 11 |
|
|
|
| 12 |
|
|
|
| 13 |
|
|
# forward the @ARGV |
| 14 |
|
|
system "$Bin/pod2hpp @ARGV $Bin/../swish.conf"; |
| 15 |
|
|
#unlink "$Bin/../pod2html-dircache"; |
| 16 |
|
|
#unlink "$Bin/../pod2html-itemcache"; |
| 17 |
|
|
|