[Ffmpeg-devel] [PATCH] Add DESTDIR support to Makefiles
İsmail Dönmez
ismail
Mon Oct 17 09:39:00 CEST 2005
On Sunday 16 October 2005 21:12, ?smail D?nmez wrote:
> On Sunday 16 October 2005 21:08, Mike Melanson wrote:
> > ?smail D?nmez wrote:
> > > Hi all,
> > >
> > > 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.
>
> Also note that packagers already patch ffmpeg like this but guess no one
> was as polite as me sending a proper patch ;-)
Any comments on the latest patch? Please note that we can't use
--prefix=/foo/bar to replace DESTDIR because it will change program's own
logic to load its plugins & will change pkgconfig files etc so it can't be
packaged that way.
Regards,
ismail
More information about the ffmpeg-devel
mailing list