diff options
| author | Jürgen Schmitz <vdr@dolze.de> | 2006-06-20 20:15:00 +0200 |
|---|---|---|
| committer | Jürgen Schmitz <vdr@dolze.de> | 2006-06-20 20:15:00 +0200 |
| commit | a8b393036b07f1bd05f09e71802cafe82ea50cbb (patch) | |
| tree | 9ae11b65082511d2083a046f566fae9b7d90a8a8 /Makefile | |
| parent | 83720d70112490b379cdc230bfb4e4f6a2fe6bff (diff) | |
| download | vdr-plugin-tvonscreen-a8b393036b07f1bd05f09e71802cafe82ea50cbb.tar.gz vdr-plugin-tvonscreen-a8b393036b07f1bd05f09e71802cafe82ea50cbb.tar.bz2 | |
Version 1.0.141
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile,v 1.6 2004/11/23 14:21:24 schmitzj Exp $ +# $Id: Makefile,v 1.7 2006/06/18 13:59:36 schmitzj Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -13,6 +13,10 @@ PLUGIN = tvonscreen VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g') +### The version number of VDR's plugin API (taken from VDR's "config.h"): + +APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h) + ### The C++ compiler and options: CXX ?= g++ @@ -68,7 +72,7 @@ all: libvdr-$(PLUGIN).so libvdr-$(PLUGIN).so: $(OBJS) $(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@ - @cp $@ $(LIBDIR)/$@.$(VDRVERSION) + @cp $@ $(LIBDIR)/$@.$(APIVERSION) dist: clean @-rm -rf $(TMPDIR)/$(ARCHIVE) |
