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 to /usr or

[vdr] improving i18n-to-gettext.pl

2007-08-15 Thread Matthias Schwarzott
Hi there! This patch should improve i18n-to-gettext.pl to work with all plugins 1.It also lists i18n.h as there seem to be some plugin-writer putting translations there. 2. It also strips // comments being in lines without , at the end. 3. it strips /* ... */ comments being in just one line 4.

[vdr] Comments on plugin Makefiles

2007-08-15 Thread Matthias Schwarzott
Hi there! This time I have some comments on Makefiles for plugins. 1. Is there any reason to not allow plain make without target to work? It would be so easy to move the all: target before %.o: %.c line. Now when I call make I just get the first .c file compiled. when changing the all target

Re: [vdr] improving i18n-to-gettext.pl

2007-08-15 Thread Matthias Fechner
Hi Matthias, Matthias Schwarzott wrote: General question: Why is the locale dir called de_DE and not just de - as that seems what most other programs on my system do? because German is spoken in more then one country: de_DE, de_AT and I think de_CH and more. I havn't not list with all

Re: [vdr] Comments on plugin Makefiles

2007-08-15 Thread Klaus Schmidinger
On 08/15/07 13:07, Matthias Schwarzott wrote: Hi there! This time I have some comments on Makefiles for plugins. 1. Is there any reason to not allow plain make without target to work? It No reason. would be so easy to move the all: target before %.o: %.c line. Well, then let's do it.

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 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 Make.config

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

Re: [vdr] Comments on plugin Makefiles

2007-08-15 Thread Udo Richter
Matthias Schwarzott wrote: This time I have some comments on Makefiles for plugins. 1. Is there any reason to not allow plain make without target to work? It would be so easy to move the all: target before %.o: %.c line. My plugins usually have an early extra target like this to allow a