Description: Makefile support for DESTDIR and ROOT_DESTDIR
Author: Kamal Mostafa <kamal@debian.org>

Allow Makefile's install directory DESTDIR (e.g. "/tmp/build_root/") to be set
independently from ROOT_DESTDIR (e.g. "/usr") which will get embedded in the
executable.

--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,8 @@
 # $Id$
 
 VERSION=0.8.4
-DESTDIR ?= /usr
+ROOT_DESTDIR?=/usr
+override DESTDIR:=$(DESTDIR)$(ROOT_DESTDIR)
 
 # Set to NO to compile without Lame/Ogg-vorbis support
 USE_LAME?=YES
