Closed pphaneuf closed 10 years ago
The rpmbuild I have here uses something like this in its %makeinstall macro, which does work with Quadra:
make prefix=/var/tmp/quadra-root/usr exec_prefix=/var/tmp/quadra-root/usr bindir=/var/tmp/quadra-root/usr/bin sbindir=/var/tmp/quadra-root/usr/sbin sysconfdir=/var/tmp/quadra-root/usr/etc datadir=/var/tmp/quadra-root/usr/share includedir=/var/tmp/quadra-root/usr/include libdir=/var/tmp/quadra-root/usr/lib libexecdir=/var/tmp/quadra-root/usr/libexec localstatedir=/var/tmp/quadra-root/usr/var sharedstatedir=/var/tmp/quadra-root/usr/com mandir=/var/tmp/quadra-root/usr/share/man infodir=/var/tmp/quadra-root/usr/share/info install
Still, it's a simple patch, I'll apply it, as it makes it easier to use by hand, I suppose...
Should be fixed by r742.
When building rpm files, the %makeinstall macro will pass a DESTDIR variable to "make" in order to tell where to install the files, so that the rpm builder can pick them up.
The current Makefile (rules.mk) doesn't take the DESTDIR variable in account.
I have attached a patch that solves this.
Thanks.