Billy Patton schrieb:
> When the Makefile is created the only documentation
> that is generated for the pod is man pages. Is there
> anyway I can force it to generate html?
something like this?
WriteMakefile(
'NAME' => 'My::Package',
'VERSION_FROM' => 'Package.pm',
# ...
# additional targets
'depend' => {
# update the pod2text README and HTML from the embedded pod
'pod' => "\$(DISTVNAME).txt \$(DISTVNAME).html\n",
'dist' => "\$(DISTDEFAULT) \$(DISTVNAME).txt \$(DISTVNAME).html\n",
'$(DISTVNAME).txt' => "\$(VERSION_FROM)\n" .
"\tpod2text \$(VERSION_FROM) >\$(DISTVNAME).txt\n",
'$(DISTVNAME).html' => "\$(VERSION_FROM)\n" .
"\tpod2html \$(VERSION_FROM) >\$(DISTVNAME).html\n",
}
# ...
}
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/