Makefiles: Use PREFIX instead of DESTDIR in simavr.pc
authorJakob Gruber <jakob.gruber@gmail.com>
Mon, 10 Sep 2012 09:29:35 +0000 (11:29 +0200)
committerJakob Gruber <jakob.gruber@gmail.com>
Mon, 10 Sep 2012 10:36:00 +0000 (12:36 +0200)
commit4f0e56559c96971c530b5b663bbcdbc2b3fdb16c
tree415e0d163c7bb34391d8609c7d0b8b24ddd370f8
parentdc3747065c3e00715808918b54337d99abba6fc3
Makefiles: Use PREFIX instead of DESTDIR in simavr.pc

This is needed when DESTDIR does not equal the actual intended
destination (this usually occurs when building packages for
distribution).

An example make invocation:

make DESTDIR=pkg/usr PREFIX=/usr install
simavr/Makefile