summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-12-27 13:36:25 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-12-27 13:36:25 +0100
commitc52df91e44ffb1da7f2a48ee52bec5f4093cbbc0 (patch)
treede02d1d6b299756d754aa8730eda24a71291eeb3
parent763e6e4c495b32f8fc5084560deafca092fd9223 (diff)
downloadvdr-c52df91e44ffb1da7f2a48ee52bec5f4093cbbc0.tar.gz
vdr-c52df91e44ffb1da7f2a48ee52bec5f4093cbbc0.tar.bz2
Now using targets "install-lib" and "install-i18n" when building plugins locally
-rw-r--r--HISTORY1
-rw-r--r--Makefile4
-rw-r--r--PLUGINS/src/dvbsddevice/Makefile6
-rw-r--r--PLUGINS/src/epgtableid0/Makefile6
-rw-r--r--PLUGINS/src/osddemo/Makefile6
-rw-r--r--PLUGINS/src/rcu/Makefile6
-rw-r--r--PLUGINS/src/servicedemo/Makefile10
-rw-r--r--PLUGINS/src/status/Makefile6
-rw-r--r--PLUGINS/src/svdrpdemo/Makefile6
9 files changed, 41 insertions, 10 deletions
diff --git a/HISTORY b/HISTORY
index a61140dd..02250c69 100644
--- a/HISTORY
+++ b/HISTORY
@@ -7473,3 +7473,4 @@ Video Disk Recorder Revision History
the CFLAGS.
- Removed some redundancy from Make.config.template.
- Changed "==" to "=" in the Makefile to make it POSIX style.
+- Now using targets "install-lib" and "install-i18n" when building plugins locally.
diff --git a/Makefile b/Makefile
index 2477d22c..fe66445c 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 2.39 2012/12/27 12:08:01 kls Exp $
+# $Id: Makefile 2.40 2012/12/27 13:03:45 kls Exp $
.DELETE_ON_ERROR:
@@ -197,7 +197,7 @@ plugins: include-dir vdr.pc
fi;\
target=all;\
if [ "$(LIBDIR)" = "$(CWD)/PLUGINS/lib" ] && [ "$(LOCDIR)" = "$(CWD)/locale" ]; then\
- target=install;\
+ target="install-lib install-i18n";\
fi;\
includes=;\
if [ "$(INCDIR)" != "$(CWD)/include" ]; then\
diff --git a/PLUGINS/src/dvbsddevice/Makefile b/PLUGINS/src/dvbsddevice/Makefile
index 44517744..72f6139b 100644
--- a/PLUGINS/src/dvbsddevice/Makefile
+++ b/PLUGINS/src/dvbsddevice/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile 1.15 2012/12/23 10:01:12 kls Exp $
+# $Id: Makefile 1.16 2012/12/27 13:01:57 kls Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -67,6 +67,10 @@ $(DEPFILE): Makefile
-include $(DEPFILE)
+### Internationalization (I18N):
+
+install-i18n:
+
### Targets:
$(SOFILE): $(OBJS)
diff --git a/PLUGINS/src/epgtableid0/Makefile b/PLUGINS/src/epgtableid0/Makefile
index 48b6b6ea..dc5402a8 100644
--- a/PLUGINS/src/epgtableid0/Makefile
+++ b/PLUGINS/src/epgtableid0/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile 1.8 2012/12/23 10:01:40 kls Exp $
+# $Id: Makefile 1.9 2012/12/27 13:02:13 kls Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -67,6 +67,10 @@ $(DEPFILE): Makefile
-include $(DEPFILE)
+### Internationalization (I18N):
+
+install-i18n:
+
### Targets:
$(SOFILE): $(OBJS)
diff --git a/PLUGINS/src/osddemo/Makefile b/PLUGINS/src/osddemo/Makefile
index 3ef4fdc3..6f06e896 100644
--- a/PLUGINS/src/osddemo/Makefile
+++ b/PLUGINS/src/osddemo/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile 2.11 2012/12/23 10:04:05 kls Exp $
+# $Id: Makefile 2.12 2012/12/27 13:02:35 kls Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -67,6 +67,10 @@ $(DEPFILE): Makefile
-include $(DEPFILE)
+### Internationalization (I18N):
+
+install-i18n:
+
### Targets:
$(SOFILE): $(OBJS)
diff --git a/PLUGINS/src/rcu/Makefile b/PLUGINS/src/rcu/Makefile
index d1b162ae..d2cbe9a3 100644
--- a/PLUGINS/src/rcu/Makefile
+++ b/PLUGINS/src/rcu/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile 1.8 2012/12/23 10:04:15 kls Exp $
+# $Id: Makefile 1.9 2012/12/27 13:02:41 kls Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -67,6 +67,10 @@ $(DEPFILE): Makefile
-include $(DEPFILE)
+### Internationalization (I18N):
+
+install-i18n:
+
### Targets:
$(SOFILE): $(OBJS)
diff --git a/PLUGINS/src/servicedemo/Makefile b/PLUGINS/src/servicedemo/Makefile
index dfe05a40..bcf4bd39 100644
--- a/PLUGINS/src/servicedemo/Makefile
+++ b/PLUGINS/src/servicedemo/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile 2.9 2012/12/23 10:04:16 kls Exp $
+# $Id: Makefile 2.10 2012/12/27 13:02:52 kls Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -64,6 +64,10 @@ $(DEPFILE): Makefile
-include $(DEPFILE)
+### Internationalization (I18N):
+
+install-i18n:
+
### Targets:
libvdr-$(PLUGIN1).so: $(PLUGIN1).o
@@ -72,10 +76,12 @@ libvdr-$(PLUGIN1).so: $(PLUGIN1).o
libvdr-$(PLUGIN2).so: $(PLUGIN2).o
$(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(PLUGIN2).o -o $@
-install: libvdr-$(PLUGIN1).so libvdr-$(PLUGIN2).so
+install-lib: libvdr-$(PLUGIN1).so libvdr-$(PLUGIN2).so
install -D libvdr-$(PLUGIN1).so $(LIBDIR)/libvdr-$(PLUGIN1).so.$(APIVERSION)
install -D libvdr-$(PLUGIN2).so $(LIBDIR)/libvdr-$(PLUGIN2).so.$(APIVERSION)
+install: install-lib
+
dist: clean
@-rm -rf $(TMPDIR)/$(ARCHIVE)
@mkdir $(TMPDIR)/$(ARCHIVE)
diff --git a/PLUGINS/src/status/Makefile b/PLUGINS/src/status/Makefile
index fc8ef9eb..bb398f25 100644
--- a/PLUGINS/src/status/Makefile
+++ b/PLUGINS/src/status/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile 2.10 2012/12/23 10:04:43 kls Exp $
+# $Id: Makefile 2.11 2012/12/27 13:03:04 kls Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -67,6 +67,10 @@ $(DEPFILE): Makefile
-include $(DEPFILE)
+### Internationalization (I18N):
+
+install-i18n:
+
### Targets:
$(SOFILE): $(OBJS)
diff --git a/PLUGINS/src/svdrpdemo/Makefile b/PLUGINS/src/svdrpdemo/Makefile
index 84eba02d..96e2f4f9 100644
--- a/PLUGINS/src/svdrpdemo/Makefile
+++ b/PLUGINS/src/svdrpdemo/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile 2.10 2012/12/23 10:04:47 kls Exp $
+# $Id: Makefile 2.11 2012/12/27 13:03:07 kls Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -67,6 +67,10 @@ $(DEPFILE): Makefile
-include $(DEPFILE)
+### Internationalization (I18N):
+
+install-i18n:
+
### Targets:
$(SOFILE): $(OBJS)