Added some notes about plugin Makefiles to PLUGINS.html

This commit is contained in:
Klaus Schmidinger 2013-02-01 12:57:53 +01:00
parent 45f660e358
commit bb7d8b3b5b
2 changed files with 8 additions and 1 deletions

View File

@ -7559,3 +7559,4 @@ Video Disk Recorder Revision History
- Updated the Slovakian language texts (thanks to Milan Hrala). - Updated the Slovakian language texts (thanks to Milan Hrala).
- Improved LIRC timing for repeat function. - Improved LIRC timing for repeat function.
- When pausing live video, the current audio and subtitle tracks are now retained. - When pausing live video, the current audio and subtitle tracks are now retained.
- Added some notes about plugin Makefiles to PLUGINS.html.

View File

@ -173,9 +173,15 @@ The <tt>src</tt> directory contains one subdirectory for each plugin, which carr
the name of that plugin (in the above example that would be <tt>hello</tt>). the name of that plugin (in the above example that would be <tt>hello</tt>).
What's inside the individual source directory of a What's inside the individual source directory of a
plugin is entirely up to the author of that plugin. The only prerequisites are plugin is entirely up to the author of that plugin. The only prerequisites are
that there is a <tt>Makefile</tt> that provides the targets <tt>all</tt> and that there is a <tt>Makefile</tt> that provides the targets <tt>all</tt><modified>, <tt>install</tt></modified> and
<tt>clean</tt>, and that a call to <tt>make all</tt> actually produces a dynamically <tt>clean</tt>, and that a call to <tt>make all</tt> actually produces a dynamically
loadable library file for that plugin (we'll get to the details later). loadable library file for that plugin (we'll get to the details later).
<modified>
The dynamically loadable library file for the plugin shall be located directly under
the plugin's source directory.
See the section <a href="#Initializing a new plugin directory">Initializing a new plugin directory</a>
for how to generate an example Makefile.
</modified>
<p> <p>
The <tt>lib</tt> directory contains the dynamically loadable libraries of all The <tt>lib</tt> directory contains the dynamically loadable libraries of all
available plugins. Note that the names of these files are created by concatenating available plugins. Note that the names of these files are created by concatenating