Re: change make install to be really useful

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthias Schwarzott wrote:
> 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.

Have a look at the SUSE vdr package. It installs headers and
Make.config into /usr/include/vdr. When compiling plugins you have
to use "make VDRDIR=/usr/include/vdr LIBDIR=/usr/lib/vdr all".

cu
Ludwig

-- 
 (o_   Ludwig Nussel
 //\   SUSE LINUX Products GmbH, Development
 V_/_  http://www.suse.de/


_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux