[vdr] RFC: Man page intstallation support for plugins?

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Sat Aug 12 15:39:18 CEST 2006


Christian Wieninger wrote:
> Hi Klaus,
> 
> the next release of my plugin will have a couple of man pages. I 
> included an 'install-doc' section in the Makefile.
> But one has to do a 'make install-doc' in the plugins source directory 
> to install them.
> 
> What do you think about a 'make install-doc-plugins' in VDR's Makefile 
> like that:
> 
> install-doc-plugins:
>        @for i in `ls $(PLUGINDIR)/src | grep -v '[^a-z0-9]'`; do $(MAKE) 
> -C "$(PLUGINDIR)/src/$$i" install-doc; done

I wouldn't mind having that.

However, what if a plugin's Makefile doesn't provide an
'install-doc' target? You might want to make sure this
doesn't cause tons of error messages. What we would also
need is the appropriate change to the 'newplugin' script.

Klaus



More information about the vdr mailing list