[vdr] change make install to be really useful

Matthias Schwarzott zzam at gentoo.org
Wed Aug 15 16:12:45 CEST 2007


On Mittwoch, 15. August 2007, Klaus Schmidinger wrote:
> On 08/13/07 18:30, Matthias Schwarzott wrote:
> > ...
> > makefile-install-header.diff:
> > It adds an install-header target which is also called by target install.
> > This installs the header files and Make.config to $(HEADERDIR) (should
> > that be changed to INCDIR ?)
> > to be able to compile plugins against the installed vdr without the need
> > to keep vdr sources.
>
> This doesn't make sense, because a plugin's Makefile does
>
> VDRDIR = ../../..
> ...
> APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p'
> $(VDRDIR)/config.h)
>

Sure one needs to point the plugin to the place where it can find the needed 
files. But I have not tried to find the minimal required changeset.

Matthias

-- 
Matthias Schwarzott (zzam)



More information about the vdr mailing list