Makefiles created with recent versions of automake
support the variable DESTDIR in all install rules.
DESTDIR simplifies the creation of binary packages,
e.g. RPMs, by allowing for the installation in a
temporary staging area:
sh configure --prefix /usr
make DESTDIR=/tmp/staging install
I use the attached patch to add DESTDIR support to
scsc-0.6.4/Makefile.in. Since the Makefile.in file in the
CVS has not changed since the last release the patch
can also be applied to the current CVS version.
I have tested the scsh built with this patch for two days
on my computer and everything seems to work fine.
Since DESTDIR is empty by default the patch does not
alter the normal functionality of the Makefile.