[Slackbuilds-users] A suggestion for the perl template
slava18 at gmail.com
Thu Jul 1 08:44:51 UTC 2010
On Thu, Jul 1, 2010 at 7:27 AM, Robby Workman <rworkman at slackbuilds.org> wrote:
> On Mon, 21 Jun 2010 11:52:42 +0300
> "V'yacheslav Stetskevych" <slava18 at gmail.com> wrote:
>> On Mon, Jun 21, 2010 at 11:08 AM, Robby Workman
>> <rworkman at slackbuilds.org> wrote:
>> > On Mon, 21 Jun 2010 10:52:18 +0300
>> > "V'yacheslav Stetskevych" <slava18 at gmail.com> wrote:
>> >> As evidently there are two ways of installing perl modules, one
>> >> being Makefile.PL, the other Build.PL, I suggest adding a
>> >> (commented) section for Build.PL to the current perl template.
>> > http://slackbuilds.org/gitweb/?p=templates.git;a=commit;h=e914440e0a2f6f2dcab0affb9c4eee425ce67e2c
>> Wonderful. Now, I found a way to make it write mans to /usr/man too:
>> ./Build install \
>> --install_path bindoc=/usr/man/man1 \
>> --install_path libdoc=/usr/man/man3
>> Please merge :-)
> But does that also work with the other install methods?
Method #1 (Makefile.PL) specifies mandir with
(the number can be changed to whatever sections one needs).
Method #2 (Build.PL) specifies mandir with
--install_path libdoc=/usr/man/man3 or
I suggest adding the lines
--install_path bindoc=/usr/man/man1 \
to the Method #2 in the perl template.
This avoids the need to move manpages manually from /usr/share/man
later on, like this slackbuild illustrates:
I hope I was clear.
If you think of MS-DOS as mono, and Windows as stereo,
then Linux is Dolby Digital and all the music is free...
More information about the SlackBuilds-users