summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTORS2
-rw-r--r--HISTORY2
-rwxr-xr-xnewplugin4
3 files changed, 6 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 46f74bc9..3bf9979c 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -754,6 +754,8 @@ Christoph Friederich <christoph.friederich@gmx.de>
Andreas Brachold <andy03@deltab.de>
for his support in keeping 'channels.conf.terr' up to date
+ for fixing 'newplugin' to use the compiler defined in $(CXX) for generating file
+ dependencies
Manuel Hartl <icecep@gmx.net>
for suggesting to extend the logging info when starting/stopping timers
diff --git a/HISTORY b/HISTORY
index cd89068a..0a4e415a 100644
--- a/HISTORY
+++ b/HISTORY
@@ -3013,3 +3013,5 @@ Video Disk Recorder Revision History
currently in use (it will then return a dummy cOsd object and write a message to
the log file).
- Added Estonian language texts (thanks to Arthur Konovalov).
+- Fixed 'newplugin' to use the compiler defined in $(CXX) for generating file
+ dependencies (thanks to Andreas Brachold).
diff --git a/newplugin b/newplugin
index 8adae35f..07d3f685 100755
--- a/newplugin
+++ b/newplugin
@@ -12,7 +12,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: newplugin 1.16 2003/12/21 15:45:18 kls Exp $
+# $Id: newplugin 1.17 2004/10/16 12:12:43 kls Exp $
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
@@ -110,7 +110,7 @@ OBJS = \$(PLUGIN).o
# Dependencies:
-MAKEDEP = g++ -MM -MG
+MAKEDEP = \$(CXX) -MM -MG
DEPFILE = .dependencies
\$(DEPFILE): Makefile
\@\$(MAKEDEP) \$(DEFINES) \$(INCLUDES) \$(OBJS:%.o=%.c) > \$\@