Fixed the 'newplugin' script to make it name the target for creating the distribution package 'dist'

This commit is contained in:
Klaus Schmidinger
2002-08-28 19:32:29 +02:00
parent 9239d3e6df
commit 1967d0cd3d
4 changed files with 13 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# 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.
# 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 $@
@cp $@ $(LIBDIR)/$@.$(VDRVERSION)
package: clean
dist: clean
@-rm -rf $(TMPDIR)/$(ARCHIVE)
@mkdir $(TMPDIR)/$(ARCHIVE)
@cp -a * $(TMPDIR)/$(ARCHIVE)