From 414548446b9fc0122f6ca44145cc8e32747e8ddd Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 16 Oct 2004 12:14:31 +0200 Subject: [PATCH] Fixed 'newplugin' to use the compiler defined in $(CXX) for generating file dependencies --- CONTRIBUTORS | 2 ++ HISTORY | 2 ++ newplugin | 4 ++-- 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 Andreas Brachold 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 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 \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) > \$\@