[Ffmpeg-devel] [PATCH] Add DESTDIR support to Makefiles

Diego Biurrun diego
Tue Oct 18 22:12:55 CEST 2005


On Sun, Oct 16, 2005 at 09:12:54PM +0300, ??smail D?nmez wrote:
> On Sunday 16 October 2005 21:08, Mike Melanson wrote:
> > ??smail D?nmez wrote:
> > >
> > > Following patch adds DESTDIR support so you can do :
> > >
> > > make install # Normal install to /
> > > make DESTDIR=/home/cartman/ffmpeg install # Install
> > > under /home/cartman/ffmpeg/usr etc
> > >
> > > DESTDIR is a must for packaging. Also note that this patch doesn't affect
> > > any functionality so it works as expected.
> > >
> > > Please comment/review/apply :)
> >
> > 	Isn't this the kind of thing that usually belongs in the configure script?
> 
> Hmm no. Usually DESTDIR is always added to Makefile.in ( in case its 
> preprocessed ) or Makefile ( ffmpeg case ) . Also attached a new patch which 
> covers some missed parts. 

I notice there are still some instances of $prefix where you did not add
DESTDIR.  Why?

Diego





More information about the ffmpeg-devel mailing list