From 73917abf6036ab12f9c47545bba4395798003d86 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 16 Apr 2006 09:36:10 +0200 Subject: Implemented APIVERSION for the VDR plugin API version number --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d18be29a..f5862139 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ # See the main source file 'vdr.c' for copyright information and # how to reach the author. # -# $Id: Makefile 1.86 2006/04/15 12:24:28 kls Exp $ +# $Id: Makefile 1.87 2006/04/16 09:00:30 kls Exp $ .DELETE_ON_ERROR: @@ -79,9 +79,10 @@ DEFINES += -D_GNU_SOURCE DEFINES += -DVIDEODIR=\"$(VIDEODIR)\" DEFINES += -DPLUGINDIR=\"$(PLUGINLIBDIR)\" -# The version number of VDR (taken from VDR's "config.h"): +# The version numbers of VDR and the plugin API (taken from VDR's "config.h"): VDRVERSION = $(shell grep 'define VDRVERSION ' config.h | awk '{ print $$3 }' | sed -e 's/"//g') +APIVERSION = $(shell grep 'define APIVERSION ' config.h | awk '{ print $$3 }' | sed -e 's/"//g') ifdef VFAT # for people who want their video directory on a VFAT partition @@ -183,7 +184,7 @@ plugins: include-dir clean-plugins: @for i in `ls $(PLUGINDIR)/src | grep -v '[^a-z0-9]'`; do $(MAKE) -C "$(PLUGINDIR)/src/$$i" clean; done - @-rm -f $(PLUGINDIR)/lib/libvdr-*.so.$(VDRVERSION) + @-rm -f $(PLUGINDIR)/lib/libvdr-*.so.$(APIVERSION) # Install the files: @@ -215,7 +216,7 @@ install-doc: install-plugins: plugins @mkdir -p $(PLUGINLIBDIR) - @cp $(PLUGINDIR)/lib/libvdr-*.so.$(VDRVERSION) $(PLUGINLIBDIR) + @cp $(PLUGINDIR)/lib/libvdr-*.so.$(APIVERSION) $(PLUGINLIBDIR) # Source documentation: -- cgit v1.2.3