aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2005-10-19 14:37:15 +0000
committerDiego Biurrun <diego@biurrun.de>2005-10-19 14:37:15 +0000
commit9a695e9899a4c8636fadefe8ff77321148e5e678 (patch)
tree44cfe4bacfc52f75bcaceb922ff76108792edda6 /configure
parent3135258e19c089f3e703817a2d3f074af67feccb (diff)
downloadffmpeg-9a695e9899a4c8636fadefe8ff77321148e5e678.tar.gz
DESTDIR support , patch taken from the Debian package
by Samuel Hocevar < sam == at == zoy == dot == org > Originally committed as revision 4651 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index 3d00bfb650..ca09e12161 100755
--- a/configure
+++ b/configure
@@ -1276,10 +1276,10 @@ echo "# Automatically generated by configure - do not modify!" > config.mak
echo "/* Automatically generated by configure - do not modify! */" > $TMPH
echo "#define FFMPEG_CONFIGURATION "'"'"$FFMPEG_CONFIGURATION"'"' >> $TMPH
-echo "prefix=$prefix" >> config.mak
-echo "libdir=$libdir" >> config.mak
-echo "bindir=$bindir" >> config.mak
-echo "mandir=$mandir" >> config.mak
+echo "prefix=\$(DESTDIR)$prefix" >> config.mak
+echo "libdir=\$(DESTDIR)$libdir" >> config.mak
+echo "bindir=\$(DESTDIR)$bindir" >> config.mak
+echo "mandir=\$(DESTDIR)$mandir" >> config.mak
echo "MAKE=$make" >> config.mak
echo "CC=$cc" >> config.mak
echo "AR=$ar" >> config.mak