mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed the 'newplugin' script to make it name the target for creating the distribution package 'dist'
This commit is contained in:
parent
9239d3e6df
commit
1967d0cd3d
7
HISTORY
7
HISTORY
@ -1430,3 +1430,10 @@ Video Disk Recorder Revision History
|
|||||||
- Fixed handling one-shot timers that were already recording and had their start
|
- Fixed handling one-shot timers that were already recording and had their start
|
||||||
time changed into the future (thanks to Matthias Schniedermeyer for reporting
|
time changed into the future (thanks to Matthias Schniedermeyer for reporting
|
||||||
this one).
|
this one).
|
||||||
|
|
||||||
|
2002-08-28: Version 1.1.9
|
||||||
|
|
||||||
|
- Fixed the 'newplugin' script to make it name the target for creating the
|
||||||
|
distribution package 'dist', as stated in the PLUGINS.html documentation.
|
||||||
|
If you have already created a plugin source directory and Makefile you may
|
||||||
|
want to check it and replace the 'package' target with 'dist' if necessary.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Makefile for a Video Disk Recorder plugin
|
# Makefile for a Video Disk Recorder plugin
|
||||||
#
|
#
|
||||||
# $Id: Makefile 1.1 2002/06/16 13:26:00 kls Exp $
|
# $Id: Makefile 1.2 2002/08/28 19:30:35 kls Exp $
|
||||||
|
|
||||||
# The official name of this plugin.
|
# The official name of this plugin.
|
||||||
# This name will be used in the '-P...' option of VDR to load the plugin.
|
# This name will be used in the '-P...' option of VDR to load the plugin.
|
||||||
@ -67,7 +67,7 @@ libvdr-$(PLUGIN).so: $(OBJS)
|
|||||||
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
|
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
|
||||||
@cp $@ $(LIBDIR)/$@.$(VDRVERSION)
|
@cp $@ $(LIBDIR)/$@.$(VDRVERSION)
|
||||||
|
|
||||||
package: clean
|
dist: clean
|
||||||
@-rm -rf $(TMPDIR)/$(ARCHIVE)
|
@-rm -rf $(TMPDIR)/$(ARCHIVE)
|
||||||
@mkdir $(TMPDIR)/$(ARCHIVE)
|
@mkdir $(TMPDIR)/$(ARCHIVE)
|
||||||
@cp -a * $(TMPDIR)/$(ARCHIVE)
|
@cp -a * $(TMPDIR)/$(ARCHIVE)
|
||||||
|
4
config.h
4
config.h
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: config.h 1.124 2002/08/24 10:23:48 kls Exp $
|
* $Id: config.h 1.125 2002/08/28 19:26:56 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __CONFIG_H
|
#ifndef __CONFIG_H
|
||||||
@ -20,7 +20,7 @@
|
|||||||
#include "eit.h"
|
#include "eit.h"
|
||||||
#include "tools.h"
|
#include "tools.h"
|
||||||
|
|
||||||
#define VDRVERSION "1.1.8"
|
#define VDRVERSION "1.1.9"
|
||||||
|
|
||||||
#define MAXPRIORITY 99
|
#define MAXPRIORITY 99
|
||||||
#define MAXLIFETIME 99
|
#define MAXLIFETIME 99
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# See the main source file 'vdr.c' for copyright information and
|
# See the main source file 'vdr.c' for copyright information and
|
||||||
# how to reach the author.
|
# how to reach the author.
|
||||||
#
|
#
|
||||||
# $Id: newplugin 1.6 2002/06/10 16:24:34 kls Exp $
|
# $Id: newplugin 1.7 2002/08/28 19:26:27 kls Exp $
|
||||||
|
|
||||||
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
|
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
|
||||||
|
|
||||||
@ -122,7 +122,7 @@ libvdr-\$(PLUGIN).so: \$(OBJS)
|
|||||||
\$(CXX) \$(CXXFLAGS) -shared \$(OBJS) -o \$\@
|
\$(CXX) \$(CXXFLAGS) -shared \$(OBJS) -o \$\@
|
||||||
\@cp \$\@ \$(LIBDIR)/\$\@.\$(VDRVERSION)
|
\@cp \$\@ \$(LIBDIR)/\$\@.\$(VDRVERSION)
|
||||||
|
|
||||||
package: clean
|
dist: clean
|
||||||
\@-rm -rf \$(TMPDIR)/\$(ARCHIVE)
|
\@-rm -rf \$(TMPDIR)/\$(ARCHIVE)
|
||||||
\@mkdir \$(TMPDIR)/\$(ARCHIVE)
|
\@mkdir \$(TMPDIR)/\$(ARCHIVE)
|
||||||
\@cp -a * \$(TMPDIR)/\$(ARCHIVE)
|
\@cp -a * \$(TMPDIR)/\$(ARCHIVE)
|
||||||
|
Loading…
Reference in New Issue
Block a user