#98 make install does not respect "prefix=path" needed for stow

open
nobody
None
5
2010-10-28
2010-10-28
J G Miller
No

When installing the package with make, use of the syntax

make prefix="/usr/local/stow/fbpabel-{version}" install

which is respected by most major software packages, is completely ignored.

This feature is needed because when managing software installations with stow,
the actual files need to be installed under /usr/local/stow/{pacakge_name}-{version}
even though the software has been built with --prefix=/usr/local

Please correct the Makefile for the install target to respect this necessary feature.

This was tested on the latest fbpanel version 6.1 with make 3.81-7ubuntu1

Discussion

  • if you need sandboxed installation please use following approach
    ./configure --prefix=/usr/local
    make
    DESTDIR=/tmp/rfs/ make install
    this will install files likes that
    /tmp/rfs/usr/local/bin/fbpanel
    and so on