The HTML tree generated by installhtml (using Pod::Html) uses absolute
in links to other parts of the tree it generates.
For example, in perlsyn.html:
I believe the best way to accomplish this would be to have installhtml call
pod2html and pass only --htmldir, not --htmlroot (or, equivalently, pass
--htmlroot=/, its default value). Pod::Html will cross reference using
relative links if it is called in this manner. In fact, if one manually
calls installhtml with --htmldir set and without setting --htmlroot, this
should happen (theoretically, i.e.; I have not tested it).
If one uses `make install.html` (see below) to call installhtml, then
--htmlroot will be set, and thus absolute links will be used.
# XXX Experimental. Hardwired values, but useful for testing.
# Eventually Configure could ask for some of these values.
install.html: all installhtml
-@test -f README.vms && cd vms && $(LNS) ../README.vms README_vms.pod
&& cd ..
$(RUN_PERL) installhtml \
--podroot=. --podpath=. --recurse \
This should not be here if relative links are desired.
Migrated from rt.perl.org#110056 (status was 'resolved')
Searchable as RT110056$
The text was updated successfully, but these errors were encountered: