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

@@ -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