summaryrefslogtreecommitdiff
path: root/newplugin
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-05-17 16:29:02 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-05-17 16:29:02 +0200
commita5c2af72778b26b5b51fc9327bb4f5e01b5ed2da (patch)
treea9b298c6c503769c6f10f60449906013e49d1964 /newplugin
parent57ff745d76d5f6fc476492be28643a5c5967f3de (diff)
downloadvdr-a5c2af72778b26b5b51fc9327bb4f5e01b5ed2da.tar.gz
vdr-a5c2af72778b26b5b51fc9327bb4f5e01b5ed2da.tar.bz2
Makefile improvements
Diffstat (limited to 'newplugin')
-rwxr-xr-xnewplugin8
1 files changed, 4 insertions, 4 deletions
diff --git a/newplugin b/newplugin
index a30961b6..a207d034 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.4 2002/05/12 15:02:13 kls Exp $
+# $Id: newplugin 1.5 2002/05/14 21:22:59 kls Exp $
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
@@ -66,7 +66,7 @@ PLUGIN = $PLUGIN_NAME
### The version number of this plugin (taken from the main source file):
-VERSION = `grep 'static const char \\*VERSION *=' \$(PLUGIN).c | awk '{ print \$\$6 }' | sed -e 's/[";]//g'`
+VERSION = \$(shell grep 'static const char \\*VERSION *=' \$(PLUGIN).c | awk '{ print \$\$6 }' | sed -e 's/[";]//g')
### The directory environment:
@@ -78,7 +78,7 @@ TMPDIR = /tmp
### The version number of VDR (taken from VDR's "config.h"):
-VDRVERSION = `grep 'define VDRVERSION ' \$(VDRDIR)/config.h | awk '{ print \$\$3 }' | sed -e 's/"//g'`
+VDRVERSION = \$(shell grep 'define VDRVERSION ' \$(VDRDIR)/config.h | awk '{ print \$\$3 }' | sed -e 's/"//g')
### The name of the distribution archive:
@@ -112,7 +112,7 @@ DEPFILE = .dependencies
\$(DEPFILE): Makefile
\@\$(MAKEDEP) \$(DEFINES) \$(INCLUDES) \$(OBJS:%.o=%.c) > \$\@
-include \$(DEPFILE)
+-include \$(DEPFILE)
### Targets: