bobbi228 / quadra

Automatically exported from code.google.com/p/quadra
0 stars 0 forks source link

Add DESTDIR to rules.mk install target to enable package building #104

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by PVinc...@googlemail.com on 10 Apr 2009 at 12:01

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by pphaneuf on 13 Apr 2009 at 4:51

GoogleCodeExporter commented 8 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...

Original comment by pphaneuf on 25 May 2009 at 7:07

GoogleCodeExporter commented 8 years ago
Should be fixed by r742.

Original comment by pphaneuf on 25 May 2009 at 7:20