I've added a patch that adds the DESTDIR variable to Makefile.in to
the project page at SourceForge. The DESTDIR variable, which is by
default empty, i.e. it does not alter the normal functionality of the
Makefile, simplifies the creation of binary packages, e.g. RPMs:
sh configure --prefix /usr
make
make DESTDIR=/tmp/staging install
Automake's DESTDIR support is described in
http://sources.redhat.com/automake/automake.html#Install under the
heading "Staged installs". DESTDIR is also mentioned in the GNU
Coding Standards: http://www.gnu.org/prep/standards_53.html
|