Generate docs using same perl as the build process

Ensure the same perl binary is used to generate the docs as used to build the module, to ensure consistency (i.e. don't use the system perl if a different perl is used)
This commit is contained in:
Duncan Ferguson 2015-11-07 11:37:57 +00:00
parent 4c38c4d1f4
commit 7808bd8e20
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,6 @@
4.04_01 0000-00-00 Duncan Ferguson <duncan_ferguson@user.sf.net>
- Ensure documentation is generated using same perl as the build (Github issue #45)
4.04 2015-11-03 Duncan Ferguson <duncan_ferguson@user.sf.net>
- Include bash completion script in distribution (Github issue #29)
- Allow re-adding closed session (Github issue #27 - thanks to Andrew Stevenson)

View file

@ -33,7 +33,7 @@ for my $source (glob("*")) {
if($source ne "clusterssh_bash_completion.dist") {
print $dfh "\n\n__END__\n\n";
my $pod= qx{ ./$source --generate-pod };
my $pod= qx{ $^X ./$source --generate-pod };
die "Failed to generate pod" if($?);
print $dfh $pod;
}