Re: [vdr] change make install to be really useful

2007-08-17 Thread Klaus Schmidinger
When I started writing VDR, I wanted to have things simple and straightforward. Therefore everything went into one directory, and VDR was also run from within that directory. This is pretty much still how I do things today, because I want to have several versions of VDR in parallel and never actual

Re: [vdr] change make install to be really useful

2007-08-16 Thread Stefan Lucke
Quoting VDR User: > While we're on the topic of adjusting the Makefile.. I propose the > following change to install-plugins: > > old: > @cp --remove-destination $(PLUGINDIR)/lib/lib*-*.so.$(APIVERSION) > $(PLUGINLIBDIR) > > new: > @cp --remove-destination $(PLUGINDIR)/lib/*.$(APIVERSION) $(PLUGI

Re: [vdr] change make install to be really useful

2007-08-16 Thread Clemens Kirchgatterer
On Wed, 2007-08-15 at 18:55 +0200, Ludwig Nussel wrote: > 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". it always strikes me, that vdrs build proces

Re: [vdr] change make install to be really useful

2007-08-15 Thread VDR User
While we're on the topic of adjusting the Makefile.. I propose the following change to install-plugins: old: @cp --remove-destination $(PLUGINDIR)/lib/lib*-*.so.$(APIVERSION) $(PLUGINLIBDIR) new: @cp --remove-destination $(PLUGINDIR)/lib/*.$(APIVERSION) $(PLUGINLIBDIR) The difference is copying

Re: [vdr] change make install to be really useful

2007-08-15 Thread Ludwig Nussel
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

Re: [vdr] change make install to be really useful

2007-08-15 Thread Matthias Schwarzott
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 >

Re: [vdr] change make install to be really useful

2007-08-15 Thread Klaus Schmidinger
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

Re: [vdr] change make install to be really useful

2007-08-15 Thread Matthias Schwarzott
On Dienstag, 14. August 2007, Artur Skawina wrote: > Udo Richter wrote: > > Matthias Schwarzott wrote: > >> makefile-destdir.diff: > >> It add variable DESTDIR to makefile to install under $(DESTDIR) instead > >> of / > > > > I would prefer something like DESTDIR=/usr/local that can be redirected >

Re: [vdr] change make install to be really useful

2007-08-14 Thread Artur Skawina
Udo Richter wrote: > Matthias Schwarzott wrote: >> makefile-destdir.diff: >> It add variable DESTDIR to makefile to install under $(DESTDIR) instead of / > > I would prefer something like DESTDIR=/usr/local that can be redirected > to /usr or /tmp/newpackage/usr or similar, just as many configure

Re: [vdr] change make install to be really useful

2007-08-14 Thread Udo Richter
Matthias Schwarzott wrote: > makefile-destdir.diff: > It add variable DESTDIR to makefile to install under $(DESTDIR) instead of / I would prefer something like DESTDIR=/usr/local that can be redirected to /usr or /tmp/newpackage/usr or similar, just as many configure scripts do it. On the downs

Re: [vdr] change make install to be really useful

2007-08-13 Thread Joachim Wilke
2007/8/13, Matthias Schwarzott <[EMAIL PROTECTED]>: > The ebuilds do this for example to satisfy some security by using a sandbox > for compiling and installing programs. make install then uses some temporary > image directory. > After that the content gets merged to the live system. (Also preservi

Re: [vdr] change make install to be really useful

2007-08-13 Thread Matthias Schwarzott
On Montag, 13. August 2007, Joachim Wilke wrote: > 2007/8/13, Matthias Schwarzott <[EMAIL PROTECTED]>: > > install-i18n.diff > > I already posted this to the list yesterday. > > > makefile-destdir.diff: > > It add variable DESTDIR to makefile to install under $(DESTDIR) instead > > of / It also add

Re: [vdr] change make install to be really useful

2007-08-13 Thread Joachim Wilke
2007/8/13, Matthias Schwarzott <[EMAIL PROTECTED]>: > install-i18n.diff I already posted this to the list yesterday. > makefile-destdir.diff: > It add variable DESTDIR to makefile to install under $(DESTDIR) instead of / > It also adds variable CONFDIR (by default identical to $(VIDEODIR)) to be