1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed the Makefile of the 'servicedemo' plugin, so that it defines the PLUGIN macro; added a comment regarding the PLUGIN macro to the 'newplugin' script

This commit is contained in:
Klaus Schmidinger 2006-06-24 09:15:17 +02:00
parent 2be1771869
commit 830d86017a
4 changed files with 16 additions and 4 deletions

View File

@ -4801,3 +4801,12 @@ Video Disk Recorder Revision History
Patrick Cernko). Patrick Cernko).
- Now making sure a VPS timer has a schedule in case the epg.data file didn't - Now making sure a VPS timer has a schedule in case the epg.data file didn't
contain one when VDR was started. contain one when VDR was started.
2006-06-24: Version 1.4.1-2
- Fixed the Makefile of the 'servicedemo' plugin, so that it defines the
PLUGIN macro, which allows the Make.config file to react properly when
compiling the plugin.
Note to all plugin developers: a plugin's Makefile *must* define the PLUGIN
macro, even if it doesn't use it itself!
- Added a comment regarding the PLUGIN macro to the 'newplugin' script.

View File

@ -1,12 +1,13 @@
# #
# Makefile for a Video Disk Recorder plugin # Makefile for a Video Disk Recorder plugin
# #
# $Id: Makefile 1.6 2006/04/24 17:21:01 kls Exp $ # $Id: Makefile 1.7 2006/06/24 09:09:54 kls Exp $
# The official name of this plugin. # The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin. # This name will be used in the '-P...' option of VDR to load the plugin.
# By default the main source file also carries this name. # By default the main source file also carries this name.
# #
PLUGIN = servicedemo # dummy name for Make.config
PLUGIN1 = svccli PLUGIN1 = svccli
PLUGIN2 = svcsvr PLUGIN2 = svcsvr

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: config.h 1.261 2006/06/15 09:23:21 kls Exp $ * $Id: config.h 1.262 2006/06/24 09:08:46 kls Exp $
*/ */
#ifndef __CONFIG_H #ifndef __CONFIG_H
@ -21,7 +21,7 @@
// VDR's own version number: // VDR's own version number:
#define VDRVERSION "1.4.1-1" #define VDRVERSION "1.4.1-2"
#define VDRVERSNUM 10401 // Version * 10000 + Major * 100 + Minor #define VDRVERSNUM 10401 // Version * 10000 + Major * 100 + Minor
// The plugin API's version number: // The plugin API's version number:

View File

@ -12,7 +12,7 @@
# See the main source file 'vdr.c' for copyright information and # See the main source file 'vdr.c' for copyright information and
# how to reach the author. # how to reach the author.
# #
# $Id: newplugin 1.28 2006/04/24 17:18:41 kls Exp $ # $Id: newplugin 1.29 2006/06/24 09:15:17 kls Exp $
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n"; $PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
@ -61,6 +61,8 @@ $MAKEFILE = qq
# The official name of this plugin. # The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin. # This name will be used in the '-P...' option of VDR to load the plugin.
# By default the main source file also carries this name. # By default the main source file also carries this name.
# IPORTANT: the presence of this macro is important for the Make.config
# file. So it must be defined, even if it is not used here!
# #
PLUGIN = $PLUGIN_NAME PLUGIN = $PLUGIN_NAME