[Slackbuilds-users] RFC: more variables

Duncan Roe duncan_roe at acslink.net.au
Sun Aug 14 13:15:39 UTC 2016

On Sun, Aug 14, 2016 at 06:08:52AM -0400, B Watson wrote:
> On 8/14/16, Klaatu <klaatu at member.fsf.org> wrote:
> > Doc path (DOCDIR)
> > Man path (MANDIR)
> > Info path (INFODIR)
> Under what conditions do you want docs somewhere besides
> /usr/doc/$PRGNAM-$VERSION, or man pages outside of /usr/man, or info
> pages outside of /usr/info?
> Those are the standard locations... if you're doing nonstandard things,
> it might make sense to change them, but asking every script maintainer
> to change every script for something like that is probably too much.
> Like the previous responder said, I'm not trying to start an argument,
> I just don't understand why this would be worth doing.

I think the point being made (with which I agree) is that the scripts would
be more easily read if the template advised
Then the configure line would read
> --docdir=/$DOCDIR
and later you would have
> mkdir -p $PKG/$DOCDIR
> cp whatever $PKG/$DOCDIR

(It's usually /usr/doc/$PKGNAM-$VERSION btw (by 749:29 in 14.2 source DVD))

Cheers ... Duncan.

More information about the SlackBuilds-users mailing list