mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00: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:
		
							
								
								
									
										9
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										9
									
								
								HISTORY
									
									
									
									
									
								
							@@ -4801,3 +4801,12 @@ Video Disk Recorder Revision History
 | 
			
		||||
  Patrick Cernko).
 | 
			
		||||
- Now making sure a VPS timer has a schedule in case the epg.data file didn't
 | 
			
		||||
  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.
 | 
			
		||||
 
 | 
			
		||||
@@ -1,12 +1,13 @@
 | 
			
		||||
#
 | 
			
		||||
# 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.
 | 
			
		||||
# 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.
 | 
			
		||||
#
 | 
			
		||||
PLUGIN  = servicedemo # dummy name for Make.config
 | 
			
		||||
PLUGIN1 = svccli
 | 
			
		||||
PLUGIN2 = svcsvr
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								config.h
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								config.h
									
									
									
									
									
								
							@@ -4,7 +4,7 @@
 | 
			
		||||
 * See the main source file 'vdr.c' for copyright information and
 | 
			
		||||
 * 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
 | 
			
		||||
@@ -21,7 +21,7 @@
 | 
			
		||||
 | 
			
		||||
// 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
 | 
			
		||||
 | 
			
		||||
// The plugin API's version number:
 | 
			
		||||
 
 | 
			
		||||
@@ -12,7 +12,7 @@
 | 
			
		||||
# See the main source file 'vdr.c' for copyright information and
 | 
			
		||||
# 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";
 | 
			
		||||
 | 
			
		||||
@@ -61,6 +61,8 @@ $MAKEFILE = qq
 | 
			
		||||
# The official name of this 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.
 | 
			
		||||
# 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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user