Re: Installing Perl without man pages?



"Uri Guttman" <uri@xxxxxxxxxxxxxxx> writes:

"SP" == Sherm Pendley <sherm.pendley@xxxxxxxxx> writes:

SP> merlyn@xxxxxxxxxxxxxx (Randal L. Schwartz) writes:
>>>>>>> "J" == J Gleixner <glex_no-spam@xxxxxxxxxxxxxxxxxxxxx> writes:
>>
J> On 06/07/11 02:58, Sherm Pendley wrote:
>>>> What's the secret sauce for installing Perl without man pages?
>>>>
>>>> I've tried configuring with "-Dman1dir=' ' -Dman3dir=' '" and with
>>>> "-Uman1dir -Uman3dir", and both resulted in the man pages all being
>>>> dumped into my top-level install directory.

sub pod2man {
# @script is scripts names if we are installing manpages embedded
# in scripts, () otherwise
my($poddir, $mandir, $manext, @script) = @_;
if ($mandir eq ' ' or $mandir eq '') {
....
so setting man1dir to '' should work.

Now that I look at it again, that if() implies that setting it to ' '
*should* have worked too, doesn't it?

Setting it to '' results in just what the warnings I mentioned earlier
suggested would happen - Configure ignored it, and "make install"
created the man/ directory anyway.

sherm--
.



Relevant Pages

  • Re: config files
    ... Randal L. Schwartz wrote: ... M> scripts themselves. ... I don't want the users to have to edit the three ... If your configs are relative to the file itself, ...
    (perl.beginners)
  • Re: Windows Internet Explorer 7 beta - Security Warnings
    ... .vbs/.bat scripts and programs from mapped network drives. ... when I use the UNC path, I m not getting these warnings (Ex. ... running a script from the command line, I also get a security warning. ... this is a settings change rather than a "problem". ...
    (microsoft.public.security)
  • Re: [PATCH -mm] sys_semctl gcc 4.1 warning fix
    ... with merge into git for some parts) that does that following: ... not everyone has your scripts or the time to use them. ... warnings of others. ... even starting with diff between the trees works fairly well. ...
    (Linux-Kernel)
  • Re: DocumentHTML ?
    ... Any hints, please? ... to set your security settings to a low and possibly unsafe level. ... But of course I use warnings! ... You didn't see it in my snippet because I always run scripts ...
    (comp.lang.perl.misc)
  • Re: Suggestion: rename "killall" to "fkill", but wait five years to phase the new name in
    ... On what scripts will nobody notice the warnings? ... made no mistakes here; only Linux and FreeBSD made mistakes. ...
    (freebsd-hackers)