diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-05-17 16:29:02 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-05-17 16:29:02 +0200 |
commit | a5c2af72778b26b5b51fc9327bb4f5e01b5ed2da (patch) | |
tree | a9b298c6c503769c6f10f60449906013e49d1964 /PLUGINS/src/hello | |
parent | 57ff745d76d5f6fc476492be28643a5c5967f3de (diff) | |
download | vdr-a5c2af72778b26b5b51fc9327bb4f5e01b5ed2da.tar.gz vdr-a5c2af72778b26b5b51fc9327bb4f5e01b5ed2da.tar.bz2 |
Makefile improvements
Diffstat (limited to 'PLUGINS/src/hello')
-rw-r--r-- | PLUGINS/src/hello/HISTORY | 4 | ||||
-rw-r--r-- | PLUGINS/src/hello/Makefile | 10 | ||||
-rw-r--r-- | PLUGINS/src/hello/hello.c | 4 |
3 files changed, 11 insertions, 7 deletions
diff --git a/PLUGINS/src/hello/HISTORY b/PLUGINS/src/hello/HISTORY index 4df316fd..f4cc7431 100644 --- a/PLUGINS/src/hello/HISTORY +++ b/PLUGINS/src/hello/HISTORY @@ -14,3 +14,7 @@ VDR Plugin 'hello' Revision History - Changed return type of cPluginHello::Start(). - Added cPluginHello::Housekeeping(). - Modified package generation. + +2002-05-17: Version 0.0.4 + +- Makefile improvements. diff --git a/PLUGINS/src/hello/Makefile b/PLUGINS/src/hello/Makefile index fbd74508..a6dafc27 100644 --- a/PLUGINS/src/hello/Makefile +++ b/PLUGINS/src/hello/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile 1.2 2002/05/12 15:09:07 kls Exp $ +# $Id: Makefile 1.3 2002/05/14 21:21:32 kls Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -11,7 +11,7 @@ PLUGIN = hello ### 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: @@ -23,7 +23,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: @@ -57,7 +57,7 @@ DEPFILE = .dependencies $(DEPFILE): Makefile @$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@ -include $(DEPFILE) +-include $(DEPFILE) ### Targets: @@ -67,7 +67,7 @@ libvdr-$(PLUGIN).so: $(OBJS) $(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ @cp $@ $(LIBDIR)/$@.$(VDRVERSION) -package: clean +dist: clean @-rm -rf $(TMPDIR)/$(ARCHIVE) @mkdir $(TMPDIR)/$(ARCHIVE) @cp -a * $(TMPDIR)/$(ARCHIVE) diff --git a/PLUGINS/src/hello/hello.c b/PLUGINS/src/hello/hello.c index 9a6c6e31..50aeeb3c 100644 --- a/PLUGINS/src/hello/hello.c +++ b/PLUGINS/src/hello/hello.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: hello.c 1.4 2002/05/12 10:18:59 kls Exp $ + * $Id: hello.c 1.5 2002/05/14 21:23:25 kls Exp $ */ #include <getopt.h> @@ -11,7 +11,7 @@ #include <vdr/plugin.h> #include "i18n.h" -static const char *VERSION = "0.0.3"; +static const char *VERSION = "0.0.4"; static const char *DESCRIPTION = "A friendly greeting"; static const char *MAINMENUENTRY = "Hello"; |