summaryrefslogtreecommitdiff
path: root/PLUGINS/src/servicedemo/Makefile
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 /PLUGINS/src/servicedemo/Makefile
parent763e6e4c495b32f8fc5084560deafca092fd9223 (diff)
downloadvdr-c52df91e44ffb1da7f2a48ee52bec5f4093cbbc0.tar.gz
vdr-c52df91e44ffb1da7f2a48ee52bec5f4093cbbc0.tar.bz2
Now using targets "install-lib" and "install-i18n" when building plugins locally
Diffstat (limited to 'PLUGINS/src/servicedemo/Makefile')
-rw-r--r--PLUGINS/src/servicedemo/Makefile10
1 files changed, 8 insertions, 2 deletions
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)