Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2275 - einstall could be friendlier if it took arguments
Summary: einstall could be friendlier if it took arguments
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-30 07:06 UTC by Seemant Kulleen (RETIRED)
Modified: 2011-10-30 22:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seemant Kulleen (RETIRED) gentoo-dev 2002-04-30 07:06:39 UTC
einstall() {
    if [ -f ./[mM]akefile ] ; then
        make prefix=${D}/usr \
            mandir=${D}/usr/share/man \
            infodir=${D}/usr/share/info \
            datadir=${D}/usr/share \
            sysconfdir=${D}/etc \
            localstatedir=${D}/var/lib \
            install || exit 1
    else
        exit 1
    fi

Danel, if we had a "$@" before install in the above function, that might make
things easier, for those packages which need all the above and a a couple of
extra re-directions (gnome packages come to mind)

Thanks
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-05-01 14:19:53 UTC
Will be in 1.9.6